On Wed, 23 Dec 2015 10:39:46 -0800 ChenHao <[email protected]> wrote:
> Do not use rsyslog. > After set "plutodebug=none" and "klipsdebug=none" in /etc/ipsec.conf, > no significant change. Now we set “plutostderrlog” to “/dev/null” > in /etc/ipsec.conf. Then no /var/log/pluto.log any more. > But /var/log/secure is still increasing. Does anybody know how to > disable it also ? Thanks Please, inform us what did you have for plutodebug= setting before. Anything but plutodebug=none (the default) increases logging a lot - How did you measure the amount of logging generated? Design of whole pluto is that plutodebug and klipsdebug should always be none for non-developers. Everything necessary to solve configuration issues are non-debug so normal logging is enough to find out configuration mismatches. Ff you use non-syslog method for logging you must make sure you do log rotation by yourself, normally syslog handles log rotate which doesn't happen on direct logging so log grows up without limit... -- Tuomo Soini <[email protected]> Foobar Linux services +358 40 5240030 Foobar Oy <http://foobar.fi/> _______________________________________________ Swan mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan
