> For the complete documentation index, see [llms.txt](https://docs.intrepidcs.com/vspy-3-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.intrepidcs.com/vspy-3-documentation/3.9.11/application-notes/application-note-coremini-partition-logging/logging-part-1-general-setup.md).

# Logging - Part 1: General Setup

### Open Vehicle Spy:&#x20;

The first step, as with any Vehicle Spy project, is to open Vehicle Spy and Log in.

### 2. Trigger Message:&#x20;

This will be the message to look for.  When this message is received, a short post capture will be collected.  After the post capture, the partition will be changed.  This trigger does not have to be a message but could be a signal value, Misc input, or any other type of trigger condition that can be setup for standalone logging.  In the example file a Receive HS CAN message will be used with the following Parameters:

![](https://2673726158-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdYdvinhoJh0IN6rV8uo3%2Fuploads%2FIPBISe1bWoVVPfAJZL9I%2FappnotCMPartTxMessage.gif?alt=media\&token=7dabc3e1-858f-4ac4-9f5e-b86f3338c655)

### 3. Partition Index:&#x20;

To keep track of which partition is being logged to, an [application signal](/vspy-3-documentation/3.9.11/vehicle-spy-main-menus/main-menu-scripting-and-automation/application-signals.md) is needed.  In the example file this is called "PartitionIndex".  This will have to be an analog signal type.

### 4. Capture Function Block:&#x20;

Next a [capture function block](/vspy-3-documentation/3.9.11/vehicle-spy-main-menus/main-menu-scripting-and-automation/function-blocks/function-blocks-types/capture-type-function-block.md) needs to be setup.  The settings to use are listed below:\
\
Filter:  Default settings or create a filter for the messages of interest.\
\
Start:  Start Immediately and make sure "Automatically restart when complete" is checked.\
\
Stop and Trigger:  Configure this to collect in a one-shot buffer with a buffer size of 50000.\
\
Storage:  Default settings.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.intrepidcs.com/vspy-3-documentation/3.9.11/application-notes/application-note-coremini-partition-logging/logging-part-1-general-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
