remove weekday from logging
[libradsec.git] / 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);