From 9989a0a7b4f52da41334a11ae28dc232aa7bac0b Mon Sep 17 00:00:00 2001 From: venaas Date: Mon, 22 Sep 2008 12:58:49 +0000 Subject: new debug version with timestamp off by default git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@394 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- debug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'debug.c') diff --git a/debug.c b/debug.c index 80173f5..2b2e07d 100644 --- a/debug.c +++ b/debug.c @@ -24,7 +24,7 @@ static char *debug_ident = NULL; static uint8_t debug_level = DBG_INFO; static FILE *debug_file = NULL; static int debug_syslogfacility = 0; -static uint8_t debug_timestamp = 1; +static uint8_t debug_timestamp = 0; void debug_init(char *ident) { debug_file = stderr; @@ -49,8 +49,8 @@ void debug_set_level(uint8_t level) { } } -void debug_no_timestamp() { - debug_timestamp = 0; +void debug_timestamp_on() { + debug_timestamp = 1; } uint8_t debug_get_level() { -- cgit v1.1