can-utils icon indicating copy to clipboard operation
can-utils copied to clipboard

candump: splitting log files by size

Open BugLight opened this issue 5 years ago • 1 comments

We are using candump to log CAN traffic on standalone devices. The log file grows fast. We suggest log file splitting. It could be helpful in some cases like in our one.

BugLight avatar Dec 23 '19 15:12 BugLight

Generally a good idea - but it bloats candump once more. E.g. I'm currently thinking of removing options (like -b and -B) to meet Unix tool simplicity philosophy ("Write programs that do one thing and do it well.") Have you ever thought about candump -L can0 | split -C 500MB? Are you familiar with split?

hartkopp avatar Jan 04 '20 12:01 hartkopp