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.
This commit is contained in:
Tobias Brunner
2015-11-09 16:30:00 +01:00
parent 8484d2b01d
commit 548b993488
5 changed files with 40 additions and 13 deletions
+4
View File
@@ -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).