diff --git a/server/include/log.h b/server/include/log.h index 407cd5f4c..ff6cd516f 100644 --- a/server/include/log.h +++ b/server/include/log.h @@ -19,7 +19,7 @@ /* The log level which is passed as first argument to print() */ #define DEBUG GRY("Debug") #define INFO "" -#define WARN YEL("Warn") +#define WARN YEL("Warn ") #define ERROR RED("Error") /** Change log indention for current thread. diff --git a/server/src/log.c b/server/src/log.c index 07b9c80f0..0c5a8fe33 100644 --- a/server/src/log.c +++ b/server/src/log.c @@ -67,7 +67,7 @@ void log_vprint(const char *lvl, const char *fmt, va_list ap) strap(buf, sizeof(buf), "%10.3f ", timespec_delta(&epoch, &ts)); /* Severity */ - strap(buf, sizeof(buf), BLD("%-5s "), lvl); + strap(buf, sizeof(buf), BLD("%5s "), lvl); /* Indention */ #ifdef __GNUC__