On Thu, Feb 22, 2024 at 06:17:39PM +0100, Paul Holzinger wrote:
Based on the man page and help output --quiet hides informational messages. This means that warnings should still be logged. This was discussed in[1].
[1] https://archives.passt.top/passt-dev/20240216114304.7234a83f@elisabeth/T/#m4...
Signed-off-by: Paul Holzinger
Reviewed-by: David Gibson
--- passt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/passt.c b/passt.c index a90568f..5d7e7c4 100644 --- a/passt.c +++ b/passt.c @@ -326,7 +326,7 @@ int main(int argc, char **argv) if (c.debug) __setlogmask(LOG_UPTO(LOG_DEBUG)); else if (c.quiet) - __setlogmask(LOG_UPTO(LOG_ERR)); + __setlogmask(LOG_UPTO(LOG_WARNING)); else __setlogmask(LOG_UPTO(LOG_INFO));
-- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson