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.

22 lines
563 B

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