<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi All,<div class=""><br class=""></div><div class="">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.</div><div class="">But it looks like it doesn’t work for me.</div><div class=""><br class=""></div><div class="">This is what I have now:</div><div class=""><br class=""></div><div class=""><pre style="margin-right: 1em; margin-left: 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); width: auto; overflow-x: auto; overflow-y: hidden; color: rgb(54, 0, 12); font-size: 11px; line-height: 16.200000762939453px;" class="">charon {
# two defined file loggers
filelog {
/var/log/charon.log {
# 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
}</pre><div class="">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.</div></div><div class=""><br class=""></div><div class="">Anyone? :-)</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Pawel</div></body></html>