-
Notifications
You must be signed in to change notification settings - Fork 79
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
Too much output during normal operation #959
Comments
Thanks for opening this issue @troelsarvin ! About the statistics: This is just the output of the command, no logging. If you don't like the output, redirect it to About the "using config /etc/rustic/rustic.toml" on stderr: This is by purpose on stderr (as all log output) - there are commands which create JSON output on stdout, and users want to process stdout by some scripts. Logging on stdout would break the JSON output. |
@aawsome I would like to "upvote" @troelsarvin comments and maybe begin a discussion that:
Just my 2cents. Ps. Love your guys work! thank you for an awesome tool! |
@teon You can easily use something like
in your config profile. Also the option Or did you want to start a discussion about what are good default values? About that specific |
@aawsome yes i’ve started a general discussion about the approach ;-) have a good day! |
When running rustic in a batch job, you want to have rustic be silent, unless something bad happens.
But when I run rustic like this:
rustic --no-progress --log-level warn backup
rustic outputs "using config /etc/rustic/rustic.toml" on stderr.
And on stdout, it prints:
Files: 0 new, 1 changed, 2738 unchanged
Dirs: 0 new, 13 changed, 834 unchanged
Added to the repo: 13.4 kiB (raw: 66.6 kiB)
processed 2739 files, 92.6 MiB
snapshot 8ccb94a0 successfully saved.
The message on stderr is not an error message, so I claim it should be sent to stdout, if at all.
And I claim that with a "warn" log level, it should not write statistics etc.
The text was updated successfully, but these errors were encountered: