[strongSwan] How to change group names in syslog
T Cheung
tccheung1 at gmail.com
Thu Apr 19 00:21:10 CEST 2012
Hi,
I am trying to change the group names that are logged by syslog. For example:
Apr 18 17:54:18 xmc daemon.info syslog: 00[DMN] Starting IKEv2 charon daemon (st
rongSwan 4.5.3)
I want to change DMN to DMN-MS so it looks like
Apr 18 17:54:18 xmc daemon.info syslog: 00[DMN-MS] Starting IKEv2
charon daemon (st
rongSwan 4.5.3)
Initially I thought I could just change the debug_names values in
src/libstrongswan/debug.c
to add the suffix, but that didn't seem to have any effect. I see
that some code actually
limits group name string length to 4 (including NULL). Also I am not
sure which code
actually logs the above message. Do you know if there is an easy change to add
a suffix like "-MS" to all group names?
Best Regards,
Terry
More information about the Users
mailing list