aboutsummaryrefslogtreecommitdiffstats
path: root/man/en/sos.1
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2021-04-22 15:08:07 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-04-28 10:16:55 -0400
commit1d0729a9dcfe3f3cebb961114c9bc05136cf8cfb (patch)
tree926b134838a770dc246888bd46dbe5cb19fff0b7 /man/en/sos.1
parent652d11827fd26fd276b78ba0e77b6fcd9581d5b6 (diff)
downloadsos-1d0729a9dcfe3f3cebb961114c9bc05136cf8cfb.tar.gz
[logging] Fix archive debug logging, adjust verbosity levels
Fixes an issue where archive debug logging was controlled by the use of `--debug` rather than `--verbose`. Removes a superfluous log in `FileCacheArchive.add_link()`. Also, adjusts the different verbosity levels to be more meaninful. Now, the use of `-v` will enable debug logging but will not print those messages to console, `-vv` will print debug logging to console, while `-vvv` will enable archive debug logging which is expected to be significant due to most file operations being logging at some point with archive debug logging. Resolves: #2507 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'man/en/sos.1')
-rw-r--r--man/en/sos.18
1 files changed, 8 insertions, 0 deletions
diff --git a/man/en/sos.1 b/man/en/sos.1
index 2aee4ede..473c0551 100644
--- a/man/en/sos.1
+++ b/man/en/sos.1
@@ -116,6 +116,14 @@ Specify the number of threads sosreport will use for concurrency. Defaults to 4.
.B \-v, \--verbose
Increase logging verbosity. May be specified multiple times to enable
additional debugging messages.
+
+The following table summarizes the effects of different verbosity levels:
+
+ 1 (-v) : Enable debug messages for sos.log. Show individual plugins starting.
+ 2 (-vv) : Also print debug messages to console.
+ 3 (-vvv) : Enable debug messages for archive file operations. Note this will dramatically
+ increase the amount of logging.
+
.TP
.B \-q, \--quiet
Only log fatal errors to stderr.