Skip to content

Reduce log verbosity #10

@TheMeaningfulEngineer

Description

@TheMeaningfulEngineer

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions