diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-11-09 12:30:26 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-11-09 16:30:00 +0100 |
commit | 548b99348836e32de296fb26a3177e39cf73e806 (patch) | |
tree | 0784bdfacff0c4b69c8a4e7b58bc72f11129acfe /conf | |
parent | 8484d2b01d5475abd1ded60b6b451a22cec99a61 (diff) | |
download | strongswan-548b99348836e32de296fb26a3177e39cf73e806.tar.bz2 strongswan-548b99348836e32de296fb26a3177e39cf73e806.tar.xz |
file-logger: Add option to print milliseconds within the current second after timestamp
For this to look right time_format should end with %S or %T.
Closes strongswan/strongswan#18.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/options/charon-logging.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/options/charon-logging.opt b/conf/options/charon-logging.opt index b437a9cc3..2bbb5dce4 100644 --- a/conf/options/charon-logging.opt +++ b/conf/options/charon-logging.opt @@ -28,6 +28,10 @@ charon.filelog.<filename>.time_format Prefix each log entry with a timestamp. The option accepts a format string as passed to **strftime**(3). +charon.filelog.<filename>.time_add_ms = no + Adds the milliseconds within the current second after the timestamp + (separated by a dot, so _time_format_ should end with %S or %T). + charon.syslog {} Section to define syslog loggers, see LOGGER CONFIGURATION in **strongswan.conf**(5). |