charon { # Section to define file loggers, see LOGGER CONFIGURATION in # strongswan.conf(5). filelog { # may be the full path to the log file if it only contains # characters permitted in section names. Is ignored if path is # specified. # { # Loglevel for a specific subsystem. # = # If this option is enabled log entries are appended to the existing # file. # append = yes # Default loglevel. # default = 1 # Enabling this option disables block buffering and enables line # buffering. # flush_line = no # Add the connection name and a unique numerical identifier for the # current IKE_SA to each log entry if available. # ike_name = no # If enabled, each log entry is written to the file as a JSON # object. # json = no # Add the log level of each message after the subsystem (e.g. # [IKE2]). # log_level = no # Optional path to the log file. Overrides the section name. Must be # used if the path contains characters that aren't allowed in # section names. # path = # Prefix each log entry with a timestamp. The option accepts a # format string as passed to strftime(3). # time_format = # Add the milliseconds (ms) or microseconds (us) within the current # second after the timestamp (separated by a dot, so time_format # should end with %S or %T). By default, nothing is added. # time_precision = # } } # Section to define syslog loggers, see LOGGER CONFIGURATION in # strongswan.conf(5). syslog { # Identifier for use with openlog(3). # identifier = # is one of the supported syslog facilities, see LOGGER # CONFIGURATION in strongswan.conf(5). # { # Loglevel for a specific subsystem. # = # Default loglevel. # default = 1 # Prefix each log entry with the connection name and a unique # numerical identifier for each IKE_SA. # ike_name = no # Add the log level of each message after the subsystem (e.g. # [IKE2]). # log_level = no # Map strongSwan specific loglevels to syslog loglevels. # map_level = -1 # } } }