Update IPsec IKE daemon log config
This change updated IPsec IKE daemon log (charon.log) configuration so more details are logged and in better format. Test Plan: PASS: Run ipsec-client to generate charon-log.conf and restart ipsec, verify charon logs capture new details and in the new expected format. Story: 2010940 Task: 49711 Change-Id: I0c2943ba60e1867dfcebddca175058b62dde4ad7 Signed-off-by: Andy Ning <andy.ning@windriver.com>
This commit is contained in:
parent
e8d60f1eae
commit
441097fd18
@ -128,8 +128,13 @@ class StrongswanPuppet(object):
|
||||
def get_charon_logging_config(self):
|
||||
charon_logging = CharonLoggingConf()
|
||||
|
||||
charon_logging.add_main_log('append', 'yes')
|
||||
charon_logging.add_main_log('default', 2)
|
||||
charon_logging.add_main_log('net', 1)
|
||||
charon_logging.add_main_log('enc', 1)
|
||||
charon_logging.add_main_log('asn', 1)
|
||||
charon_logging.add_main_log('job', 1)
|
||||
charon_logging.add_main_log('ike_name', 'yes')
|
||||
charon_logging.add_main_log('append', 'yes')
|
||||
charon_logging.add_main_log('flush_line', 'yes')
|
||||
charon_logging.add_main_log('path', '/var/log/charon.log')
|
||||
charon_logging.add_main_log('time_add_ms', 'yes')
|
||||
|
Loading…
Reference in New Issue
Block a user