summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-05-14 12:53:27 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-05-14 12:53:27 +0000
commit52ac7dae87f8fa168921c33eb8cce2813e1b408e (patch)
tree3438c24aee96f362a7cb6d0213f42f0d1f69c142 /debug.c
parentb5182d5c1b5b1cf0ba68d6cd9acfd43d9d3e82e7 (diff)
remove weekday from logging
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@256 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 9d0312e..aac6ac6 100644
--- 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);