diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-03-15 00:59:09 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-03-25 13:21:13 +0100 |
commit | d2e40bb8d98763e33c3eeac4f5f1b7c53465009f (patch) | |
tree | f2eb7812c96b418bbfe93dfc238afd466b78a946 /passt.h | |
parent | 14c4c0253c51506caddb380c65fd56e0cf1060ab (diff) | |
download | passt-d2e40bb8d98763e33c3eeac4f5f1b7c53465009f.tar passt-d2e40bb8d98763e33c3eeac4f5f1b7c53465009f.tar.gz passt-d2e40bb8d98763e33c3eeac4f5f1b7c53465009f.tar.bz2 passt-d2e40bb8d98763e33c3eeac4f5f1b7c53465009f.tar.lz passt-d2e40bb8d98763e33c3eeac4f5f1b7c53465009f.tar.xz passt-d2e40bb8d98763e33c3eeac4f5f1b7c53465009f.tar.zst passt-d2e40bb8d98763e33c3eeac4f5f1b7c53465009f.zip |
conf, util, tap: Implement --trace option for extra verbose logging
--debug can be a bit too noisy, especially as single packets or
socket messages are logged: implement a new option, --trace,
implying --debug, that enables all debug messages.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.h')
-rw-r--r-- | passt.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -92,6 +92,7 @@ enum passt_modes { * struct ctx - Execution context * @mode: Operation mode, qemu/UNIX domain socket or namespace/tap * @debug: Enable debug mode + * @trace: Enable tracing (extra debug) mode * @quiet: Don't print informational messages * @foreground: Run in foreground, don't log to stderr by default * @stderr: Force logging to stderr @@ -153,6 +154,7 @@ enum passt_modes { struct ctx { enum passt_modes mode; int debug; + int trace; int quiet; int foreground; int stderr; |