Commit 37a7b35e authored by Pavel Emelyanov's avatar Pavel Emelyanov

log: Move default loglevel macro to header

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 9a54d645
...@@ -7,4 +7,6 @@ ...@@ -7,4 +7,6 @@
#define LOG_INFO (3) /* Informative, everything is fine */ #define LOG_INFO (3) /* Informative, everything is fine */
#define LOG_DEBUG (4) /* Debug only */ #define LOG_DEBUG (4) /* Debug only */
#define DEFAULT_LOGLEVEL LOG_WARN
#endif /* LOG_LEVELS_H__ */ #endif /* LOG_LEVELS_H__ */
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "util.h" #include "util.h"
#include "crtools.h" #include "crtools.h"
#define DEFAULT_LOGLEVEL LOG_WARN
#define DEFAULT_LOGFD STDERR_FILENO #define DEFAULT_LOGFD STDERR_FILENO
static unsigned int current_loglevel = DEFAULT_LOGLEVEL; static unsigned int current_loglevel = DEFAULT_LOGLEVEL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment