Tried the following but that didn’t work.
config setup
charondebug="ike -1, knl -1, cfg -1"
My gut feeling is it has something to do with /etc/strongswan.d/charon-logging.conf
?
I have read the docs but want to make sure I don’t miss something.
Currently, I have the following which appears to disable most (if not all) logging.
charon {
filelog {
charon {
default = -1
}
}
syslog {
auth {
default = -1
}
}
}
According to the StrongSwan documentation:
Which means that unless you've configured additional loggers (like a
charon
file logger), all you need is:If you're using systemd, add this to avoid logging to the journal:
I'll repeat for anyone stumbling on this: do not do this unless you have very specific privacy concerns, it hinders security auditing, debugging and post-compromise analysis.