summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorMaja Gorecka-Wolniewicz <mgw@puma.uci.umk.pl>2011-11-23 11:37:29 +0100
committerMaja Gorecka-Wolniewicz <mgw@puma.uci.umk.pl>2011-11-23 11:37:29 +0100
commit3edadaafb32f0cb230672f9363698df10c38c66d (patch)
treecaed691ec0b3d3f9ebfc9122a0c86d1697557934 /radsecproxy.c
parentb5bdc1d887a519de1d96d6da4534fbbe1210ee2d (diff)
FTicks loging changes
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index ef27f0f..426b65b 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -3241,15 +3241,12 @@ int radsecproxy_main(int argc, char **argv) {
else if (options.loglevel)
debug_set_level(options.loglevel);
if (!foreground) {
- debug_set_destination(options.logdestination ? options.logdestination : "x-syslog:///");
+ debug_set_destination(options.logdestination ? options.logdestination : "x-syslog:///", DEBUG_LOG);
#if defined(WANT_FTICKS)
if (options.ftickssyslogfacility) {
- debug(DBG_WARN, "FTicksSyslogFacility is %s ", options.ftickssyslogfacility);
- debug_set_ftickssyslogfacility(options.ftickssyslogfacility);
+ debug_set_destination(options.ftickssyslogfacility, FTICKS_LOG);
free(options.ftickssyslogfacility);
- } else {
- debug(DBG_INFO, "FTicksSyslogFacility not set");
- }
+ }
#endif
}
free(options.logdestination);