X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Flogging.c;h=c00746ae1d11abc01ded08579f10808a8435b240;hb=9e019a9a9be9abe8de2073e6e37554d6de35bdb2;hp=8132e5c034d0ef8b9cfde9d194b743c4b000c3c5;hpb=4cd445c8aa22fa18f34291202787787ddda659aa;p=tpg%2Facess2.git diff --git a/Kernel/logging.c b/Kernel/logging.c index 8132e5c0..c00746ae 100644 --- a/Kernel/logging.c +++ b/Kernel/logging.c @@ -113,7 +113,7 @@ void Log_AddEvent(const char *Ident, int Level, const char *Format, va_list Args char newData[ LOG_HDR_LEN + len + 2 + 1 ]; char _ident[9]; strncpy(_ident, Ident, 9); - sprintf( newData, "%014lli%s [%+8s] ", + sprintf( newData, "%014lli%s [%-8s] ", ent->Time, csaLevelCodes[Level], Ident); strcpy( newData + LOG_HDR_LEN, ent->Data ); strcpy( newData + LOG_HDR_LEN + len, "\r\n" ); @@ -153,7 +153,7 @@ void Log_AddEvent(const char *Ident, int Level, const char *Format, va_list Args void Log_Int_PrintMessage(tLogEntry *Entry) { SHORTLOCK( &glLogOutput ); - LogF("%s%014lli%s [%+8s] %s", + LogF("%s%014lli%s [%-8s] %s", csaLevelColours[Entry->Level], Entry->Time, csaLevelCodes[Entry->Level],