diff options
Diffstat (limited to 'debian/patches/1005-vyos-set-logging-for-rsyslog.patch')
-rw-r--r-- | debian/patches/1005-vyos-set-logging-for-rsyslog.patch | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/debian/patches/1005-vyos-set-logging-for-rsyslog.patch b/debian/patches/1005-vyos-set-logging-for-rsyslog.patch new file mode 100644 index 000000000..afe513e24 --- /dev/null +++ b/debian/patches/1005-vyos-set-logging-for-rsyslog.patch @@ -0,0 +1,83 @@ +--- a/conf/options/charon-logging.conf 2019-01-09 13:52:45.000000000 +0100 ++++ b/conf/options/charon-logging.conf 2019-01-09 13:58:06.576971793 +0100 +@@ -1,74 +1,10 @@ + charon { +- +- # Section to define file loggers, see LOGGER CONFIGURATION in +- # strongswan.conf(5). +- filelog { +- +- # <name> may be the full path to the log file if it only contains +- # characters permitted in section names. Is ignored if path is +- # specified. +- # <name> { +- +- # Loglevel for a specific subsystem. +- # <subsystem> = <default> +- +- # 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 +- +- # Prefix each log entry with the connection name and a unique +- # numerical identifier for each IKE_SA. +- # ike_name = 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 = +- +- # Adds the milliseconds within the current second after the +- # timestamp (separated by a dot, so time_format should end with %S +- # or %T). +- # time_add_ms = no +- +- # Prefix each log entry with a timestamp. The option accepts a +- # format string as passed to strftime(3). +- # time_format = +- +- # } +- +- } +- +- # Section to define syslog loggers, see LOGGER CONFIGURATION in +- # strongswan.conf(5). + syslog { +- +- # Identifier for use with openlog(3). +- # identifier = +- +- # <facility> is one of the supported syslog facilities, see LOGGER +- # CONFIGURATION in strongswan.conf(5). +- # <facility> { +- +- # Loglevel for a specific subsystem. +- # <subsystem> = <default> +- +- # Default loglevel. +- # default = 1 +- +- # Prefix each log entry with the connection name and a unique +- # numerical identifier for each IKE_SA. +- # ike_name = no +- +- # } +- ++ # prefix for each log message ++ identifier = charon ++ # use default settings to log to the LOG_DAEMON facility ++ daemon { ++ default = 1 ++ } + } +- + } +- |