diff options
author | venaas <venaas> | 2008-09-22 13:02:13 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-09-22 13:02:13 +0000 |
commit | 842497d6a8b72999e70613fa8d5ff1ee6acc1ecf (patch) | |
tree | b07a61dcbc8e3c1b8132e3a1e99c34f994961124 /debug.c | |
parent | 977aeaa206964b7590c18dce1088d6f89745165b (diff) |
new debug version with timestamp off by default
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@395 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() { |