---
name: "can_logconvert"
section: "1"
platform: "linux"
package: "python3-can"
version: "4.5.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/can_logconvert"
---

# can\_logconvert(1)

CAN data converter

## NAME

can\_logconvert - CAN data converter

## DESCRIPTION

usage: logconvert.py \[-h\] \[-s FILE\_SIZE\] INFILE OUTFILE

Convert a log file from one format to another.

### positional arguments:

- INFILE

  Input filename. The type is dependent on the suffix, see can.LogReader.

- OUTFILE

  Output filename. The type is dependent on the suffix, see can.Logger.

### options:

- **-h**, **--help**

  show this help message and exit

- **-s** FILE\_SIZE, **--file\_size** FILE\_SIZE

  Maximum file size in bytes. Rotate log file when size threshold is reached.
