diff options
author | Laura Abbott <labbott@fedoraproject.org> | 2015-09-28 15:39:12 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2015-09-30 15:17:01 -0300 |
commit | 16d863c3175fe5934d3fca4973c09b45c12bf183 (patch) | |
tree | 62859b1846ede6a0bfec8b27396a733702b19a97 /tools | |
parent | b87d01d6ef87e7f717ed8a9221baeee3c60b571d (diff) | |
download | kmod-16d863c3175fe5934d3fca4973c09b45c12bf183.tar.gz kmod-16d863c3175fe5934d3fca4973c09b45c12bf183.tar.bz2 kmod-16d863c3175fe5934d3fca4973c09b45c12bf183.zip |
Change default log level
The default log level is currently LOG_ERR. Tools can override this
default but there is a non-trivial amount of setup that needs to
happen before the log level can be changed. Since tools may want to
use the warn level for things such as deprecated flags, change the
default to LOG_WARNING to ensure messages get printed.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/log.c b/tools/log.c index e29a150..3317a35 100644 --- a/tools/log.c +++ b/tools/log.c @@ -29,7 +29,7 @@ #define PRIO_MAX_SIZE 32 static bool log_use_syslog; -static int log_priority = LOG_ERR; +static int log_priority = LOG_WARNING; static const char *prio_to_str(char buf[static PRIO_MAX_SIZE], int prio) { |