[strongSwan] Problem with logs.
pawel.grzesik at brainstorm.co.uk
Tue Oct 21 12:06:10 CEST 2014
As described on LoggerConfiguration, since 5.0.2 sending a SIGHUP to charon to reload strongswan.conf also reloads the logger configuration, which re-/opens the configured log files.
But it looks like it doesn’t work for me.
This is what I have now:
# two defined file loggers
# add a timestamp prefix
time_format = %b %e %T
# prepend connection name, simplifies grepping
ike_name = yes
# overwrite existing files
append = no
# increase default loglevel for all daemon subsystems
default = 2
# flush each line to disk
flush_line = yes
And every time when I execute “ipsec restart” my file log is created as a new empty file. In that case I’m loosing whole history. I changed append from no to yes but same result.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users