file-logger: Optionally log the level of each message

Fixes #3509.
This commit is contained in:
Tobias Brunner
2020-10-27 10:42:39 +01:00
parent e635d3dcbd
commit a3f5e38b7f
5 changed files with 44 additions and 16 deletions
+3
View File
@@ -29,6 +29,9 @@ charon.filelog.<name>.ike_name = no
Prefix each log entry with the connection name and a unique numerical
identifier for each IKE_SA.
charon.filelog.<name>.log_level = no
Add the log level of each message after the subsystem (e.g. [IKE2]).
charon.filelog.<name>.time_format
Prefix each log entry with a timestamp. The option accepts a format string
as passed to **strftime**(3).