remove weekday from logging
authorvenaas <venaas>
Wed, 14 May 2008 12:53:27 +0000 (12:53 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Wed, 14 May 2008 12:53:27 +0000 (12:53 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@256 e88ac4ed-0b26-0410-9574-a7f39faa03bf

debug.c

diff --git a/debug.c b/debug.c
index 9d0312e..aac6ac6 100644 (file)
--- a/debug.c
+++ b/debug.c
@@ -121,7 +121,7 @@ void debug_logit(uint8_t level, const char *format, va_list ap) {
            gettimeofday(&now, NULL);
            ctime_r(&now.tv_sec, timebuf);
            timebuf[strlen(timebuf) - 1] = '\0';
-           fprintf(debug_file, "%s: ", timebuf);
+           fprintf(debug_file, "%s: ", timebuf + 4);
            free(timebuf);
        }
        vfprintf(debug_file, format, ap);