You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.0 KiB

  1. --- a/radsecproxy.c
  2. +++ b/radsecproxy.c
  3. @@ -3385,15 +3385,13 @@ int radsecproxy_main(int argc, char **ar
  4. options.loglevel = loglevel;
  5. else if (options.loglevel)
  6. debug_set_level(options.loglevel);
  7. - if (!foreground) {
  8. - debug_set_destination(options.logdestination
  9. - ? options.logdestination
  10. - : "x-syslog:///", LOG_TYPE_DEBUG);
  11. - if (options.ftickssyslogfacility) {
  12. - debug_set_destination(options.ftickssyslogfacility,
  13. - LOG_TYPE_FTICKS);
  14. - free(options.ftickssyslogfacility);
  15. - }
  16. + debug_set_destination(options.logdestination
  17. + ? options.logdestination
  18. + : "x-syslog:///", LOG_TYPE_DEBUG);
  19. + if (options.ftickssyslogfacility) {
  20. + debug_set_destination(options.ftickssyslogfacility,
  21. + LOG_TYPE_FTICKS);
  22. + free(options.ftickssyslogfacility);
  23. }
  24. free(options.logdestination);
  25. if (options.logtid)