File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / conf / options / charon-logging.opt
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:20:08 2021 UTC (3 years, 6 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, HEAD
strongswan 5.9.2

    1: charon.filelog {}
    2: 	Section to define file loggers, see LOGGER CONFIGURATION in
    3: 	**strongswan.conf**(5).
    4: 
    5: charon.filelog.<name> { # }
    6: 	<name> may be the full path to the log file if it only contains
    7: 	characters permitted in section names. Is ignored if _path_ is specified.
    8: 
    9: charon.filelog.<name>.path =
   10: 	Optional path to the log file. Overrides the section name. Must be used
   11: 	if the path contains characters that aren't allowed in section names.
   12: 
   13: charon.filelog.<name>.default = 1
   14: 	Default loglevel.
   15: 
   16: 	Specifies the default loglevel to be used for subsystems for which no
   17: 	specific loglevel is defined.
   18: 
   19: charon.filelog.<name>.<subsystem> = <default>
   20: 	Loglevel for a specific subsystem.
   21: 
   22: charon.filelog.<name>.append = yes
   23: 	If this option is enabled log entries are appended to the existing file.
   24: 
   25: charon.filelog.<name>.flush_line = no
   26: 	Enabling this option disables block buffering and enables line buffering.
   27: 
   28: charon.filelog.<name>.ike_name = no
   29: 	Prefix each log entry with the connection name and a unique numerical
   30: 	identifier for each IKE_SA.
   31: 
   32: charon.filelog.<name>.log_level = no
   33: 	Add the log level of each message after the subsystem (e.g. [IKE2]).
   34: 
   35: charon.filelog.<name>.time_format
   36: 	Prefix each log entry with a timestamp. The option accepts a format string
   37: 	as passed to **strftime**(3).
   38: 
   39: charon.filelog.<name>.time_add_ms = no
   40: 	Adds the milliseconds within the current second after the timestamp
   41: 	(separated by a dot, so _time_format_ should end with %S or %T).
   42: 
   43: charon.syslog {}
   44: 	Section to define syslog loggers, see LOGGER CONFIGURATION in
   45: 	**strongswan.conf**(5).
   46: 
   47: charon.syslog.identifier
   48: 	Identifier for use with openlog(3).
   49: 
   50: 	Global identifier used for an **openlog**(3) call, prepended to each log
   51: 	message by syslog.  If not configured, **openlog**(3) is not called, so the
   52: 	value will depend on system defaults (often the program name).
   53: 
   54: charon.syslog.<facility> { # }
   55: 	<facility> is one of the supported syslog facilities, see LOGGER
   56: 	CONFIGURATION in **strongswan.conf**(5).
   57: 
   58: charon.syslog.<facility>.default = 1
   59: 	Default loglevel.
   60: 
   61: 	Specifies the default loglevel to be used for subsystems for which no
   62: 	specific loglevel is defined.
   63: 
   64: charon.syslog.<facility>.<subsystem> = <default>
   65: 	Loglevel for a specific subsystem.
   66: 
   67: charon.syslog.<facility>.ike_name = no
   68: 	Prefix each log entry with the connection name and a unique numerical
   69: 	identifier for each IKE_SA.
   70: 
   71: charon.syslog.<facility>.log_level = no
   72: 	Add the log level of each message after the subsystem (e.g. [IKE2]).

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>