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.

21 lines
521 B

  1. --- a/src/Cedar/Server.c
  2. +++ b/src/Cedar/Server.c
  3. @@ -5,6 +5,7 @@
  4. // Server.c
  5. // VPN Server module
  6. +#include <syslog.h>
  7. #include "Server.h"
  8. #include "Admin.h"
  9. @@ -6561,6 +6562,10 @@ UINT SiWriteConfigurationFile(SERVER *s)
  10. {
  11. return 0;
  12. }
  13. +
  14. + openlog("softethervpn-server", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_DAEMON);
  15. + syslog(LOG_NOTICE, "Writing vpn_server.config (AutoSaveConfigSpan set to < %d > seconds)", (s->AutoSaveConfigSpan / 1000));
  16. + closelog();
  17. Lock(s->SaveCfgLock);
  18. {