DOKK / manpages / debian 12 / python3-can / can_logger.1.en
CAN_LOGGER(1) User Commands CAN_LOGGER(1)

can_logger - CAN data logger 3.0.0+github

usage: python -m can.logger [-h] [-f LOG_FILE] [-v] [-c CHANNEL]

[-i {pcan,ixxat,socketcan_ctypes,kvaser,virtual,usb2can,vector,slcan,nican,socketcan,iscan,neovi,serial,socketcan_native}]
[--filter ...] [-b BITRATE] [--active | --passive]

Log CAN traffic, printing messages to stdout or to a given file.

show this help message and exit
Path and base log filename, for supported types see can.Logger.
How much information do you want to see at the command line? You can add several of these e.g., -vv is DEBUG
Most backend interfaces require some sort of channel. For example with the serial interface the channel might be a rfcomm device: "/dev/rfcomm0" With the socketcan interfaces valid channel examples include: "can0", "vcan0"
Specify the backend CAN interface to use. If left blank, fall back to reading from configuration files.
Comma separated filters can be specified for the given CAN interface: <can_id>:<can_mask> (matches when <received_can_id> & mask == can_id & mask) <can_id>~<can_mask> (matches when <received_can_id> & mask != can_id & mask)
Bitrate to use for the CAN bus.
Start the bus as active, this is applied the default.
Start the bus as passive.
February 2019 can_logger 3.0.0+github