2021-02-20 16:02:15 -08:00
|
|
|
--- a/src/Cedar/Server.c
|
|
|
|
+++ b/src/Cedar/Server.c
|
2021-06-24 16:14:40 +02:00
|
|
|
@@ -5,6 +5,7 @@
|
2018-07-25 22:40:59 +02:00
|
|
|
// Server.c
|
|
|
|
// VPN Server module
|
2021-06-24 16:14:40 +02:00
|
|
|
|
2018-07-25 22:40:59 +02:00
|
|
|
+#include <syslog.h>
|
2021-06-24 16:14:40 +02:00
|
|
|
#include "Server.h"
|
2018-07-25 22:40:59 +02:00
|
|
|
|
2021-06-24 16:14:40 +02:00
|
|
|
#include "Admin.h"
|
2024-01-10 16:04:00 +01:00
|
|
|
@@ -6593,6 +6594,10 @@ UINT SiWriteConfigurationFile(SERVER *s)
|
2018-07-25 22:40:59 +02:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+ openlog("softethervpn-server", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_DAEMON);
|
|
|
|
+ syslog(LOG_NOTICE, "Writing vpn_server.config (AutoSaveConfigSpan set to < %d > seconds)", (s->AutoSaveConfigSpan / 1000));
|
|
|
|
+ closelog();
|
|
|
|
|
|
|
|
Lock(s->SaveCfgLock);
|
|
|
|
{
|