Skip to content

candump: splitting log files by size#189

Open
BugLight wants to merge 5 commits intolinux-can:masterfrom
BugLight:logs-rotation
Open

candump: splitting log files by size#189
BugLight wants to merge 5 commits intolinux-can:masterfrom
BugLight:logs-rotation

Conversation

@BugLight
Copy link

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.

@hartkopp
Copy link
Member

hartkopp commented Jan 4, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants