---
source_path: "tools/snsr-log-split.md"
canonical_url: "https://doc.sensory.com/tnl/7.8/tools/snsr-log-split/"
---

# snsr-log-split

Command-line splitter for logfiles generated by the debug template
[tpl-spot-debug](https://doc.sensory.com/tnl/7.8/models/index.md#tpl-spot-debug).

## Usage

```
Splits spotter log files into an event log, captured audio data,
and the source spotter model.

usage: snsr-log-split logfile [logfile ...]
 options:
  -d directory     : output directory (default: .)
  -v [-v [-v]]     : increase verbosity
```

This will put an event log file (_.txt_), audio file (_.wav_),
and model file (_.snsr_) into the current directory, or into the output
directory if that was supplied.

## Example

```console
% snsr-log-split -d out debug.log
% ls out
debug.snsr  debug.txt  debug.wav
```

This will create components of _debug.log_ in subdirectory _out/_
(which must already exist.)

<!-- Abbreviation definitions from includes/abbreviations.md -->
*[TNL]: TrulyNatural, Sensory's large-vocabulary speech recognition technology
