[strongSwan] logging to file via filelog in /etc/strongswan.conf is lagging and seems to have flusing problems

Martin Willi martin at strongswan.org
Mon Oct 4 10:37:23 CEST 2010


Hi Chris,

> sometimes output is not printed for several minutes

> there seem to be flusing problems, meaning that log
> lines are not fully written to file

The filelog targets by default do not flush buffers to disk for
performance reasons. Starting with 4.4.1, there is a new "flush_line"
option to set for each filelog section. If set to yes, each line is
flushed to disk.

I've added the option to the example at [1].

Regards
Martin

[1]http://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration






More information about the Users mailing list