mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
charon-systemd: Add a log message when the daemon is starting
While there is a status message sent to systemd (can be seen e.g. in systemctl status), the version etc. is currently not logged to the journal, syslog or any log files.
This commit is contained in:
parent
0bf061d737
commit
d12e6c9e55
@ -368,6 +368,9 @@ int main(int argc, char *argv[])
|
||||
|
||||
charon->load_loggers(charon);
|
||||
|
||||
DBG1(DBG_DMN, "Starting charon-systemd IKE daemon (strongSwan "VERSION", "
|
||||
"%s %s, %s)", utsname.sysname, utsname.release, utsname.machine);
|
||||
|
||||
if (!charon->initialize(charon,
|
||||
lib->settings->get_str(lib->settings, "%s.load", PLUGINS, lib->ns)))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user