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

fix: log config file logs after reading config files #961

Merged
merged 1 commit into from
Dec 3, 2023
Merged

Conversation

aawsome
Copy link
Member

@aawsome aawsome commented Dec 3, 2023

This PR logs outputs from reading config files like all other logs. It does so by collecting the messages and once the logger is started (which is after all config files have been processed), it performs the logging of all collected messages.
It also changes the severity of missing config files: If no config file is given in the command line, a missing rustic.toml is an info error. All other missing config files will produce warnings.

closes #959

@aawsome aawsome marked this pull request as ready for review December 3, 2023 19:34
@aawsome aawsome merged commit 536d1c1 into main Dec 3, 2023
26 checks passed
@aawsome aawsome deleted the mergelogs branch December 3, 2023 22:19
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.

Too much output during normal operation
1 participant