- --- a/radsecproxy.c
- +++ b/radsecproxy.c
- @@ -3005,15 +3005,13 @@ int radsecproxy_main(int argc, char **argv) {
- options.loglevel = loglevel;
- else if (options.loglevel)
- debug_set_level(options.loglevel);
- - if (!foreground) {
- - debug_set_destination(options.logdestination
- - ? options.logdestination
- - : "x-syslog:///", LOG_TYPE_DEBUG);
- - if (options.ftickssyslogfacility) {
- - debug_set_destination(options.ftickssyslogfacility,
- - LOG_TYPE_FTICKS);
- - free(options.ftickssyslogfacility);
- - }
- + debug_set_destination(options.logdestination
- + ? options.logdestination
- + : "x-syslog:///", LOG_TYPE_DEBUG);
- + if (options.ftickssyslogfacility) {
- + debug_set_destination(options.ftickssyslogfacility,
- + LOG_TYPE_FTICKS);
- + free(options.ftickssyslogfacility);
- }
- free(options.logdestination);
- if (options.logtid)
|