Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

candump: splitting log files by size #189

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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.

None yet

3 participants