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

Reduce log verbosity #10

Open
TheMeaningfulEngineer opened this issue Jul 2, 2018 · 1 comment
Open

Reduce log verbosity #10

TheMeaningfulEngineer opened this issue Jul 2, 2018 · 1 comment

Comments

@TheMeaningfulEngineer
Copy link

I'm running stressdisk as a systemd service and am finding the stats very useful.

Bytes read:           144 MByte (   8.73 MByte/s)
Bytes written:         78 MByte (   2.81 MByte/s)
Errors:                 0
Elapsed time:  1m0.038864945s

Especially when comparing to the numbers monitoring tools give. i.e. iostat

But the constant logging is to verbose:

Error while writing "/data/logs/TST_0004"
Removing incomplete file "/data/logs/TST_0004"
Reading file "/data/logs/TST_0002", "/data/logs/TST_0003"
Reading file "/data/logs/TST_0001", "/data/logs/TST_0002"
Reading file "/data/logs/TST_0000", "/data/logs/TST_0001"
Reading file "/data/logs/TST_0003", "/data/logs/TST_0000"
Removing 4 check files
Removing file "/data/logs/TST_0000"
Removing file "/data/logs/TST_0001"
Removing file "/data/logs/TST_0002"
Removing file "/data/logs/TST_0003"
....

Would be a great feature to be able to quiet those.

@ncw
Copy link
Owner

ncw commented Jul 3, 2018

Do you fancy sending a pull request adding a -q flag?

@ncw ncw added the enhancement label Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants