diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-09-13 11:56:21 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-09-13 11:56:21 +0100 |
commit | dcbfb39e1cfea0cfbdcf736de01f2e33dd674e8d (patch) | |
tree | 4a38ce0afd26f8897718da6ecde7d1fad8801a39 /po | |
parent | 7c7707115a54e6be692f8c678fa5378982875509 (diff) | |
download | sos-dcbfb39e1cfea0cfbdcf736de01f2e33dd674e8d.tar.gz |
[sosreport] re-order logging shutdown
Currently we remove all log handlers and then add the log files
to the archive. This can cause messages to leak to the console
when running in --quiet mode:
# sosreport -o lvm2 --batch --build --debug --quiet
No handlers could be found for logger "sos"
This happens because the Archive classes output to the 'sos'
logger; removing the handlers before archiving the logs causes
a default basicConfig to be used and generates the above message.
Add the files to the archive and then remove the handlers.
Fixes #393.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions