diff options
author | sebres <serg.brester@sebres.de> | 2017-11-03 11:31:36 +0100 |
---|---|---|
committer | sebres <serg.brester@sebres.de> | 2017-11-03 14:15:07 +0100 |
commit | eba68a8f377795ca151d7ebd9199107a538cbb7a (patch) | |
tree | d75eaf249adaa11e16c3f45e6707a943044318f5 /config/paths-common.conf | |
parent | c06f3c3fb8ff6cd36d8a1271ef2d09335a1fd9fa (diff) | |
download | fail2ban-eba68a8f377795ca151d7ebd9199107a538cbb7a.tar.gz |
config/paths-common.conf: Added initial values for `syslog_authpriv`, `syslog_mail` in order to avoid errors while parsing/interpolating configuration;
Note the systemd-backend does not need the logpath at all;
Some defaults normalized (minimized configs, don't need to overwrite values in distribution-related path if equal).
Diffstat (limited to 'config/paths-common.conf')
-rw-r--r-- | config/paths-common.conf | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/config/paths-common.conf b/config/paths-common.conf index 51323d6b..7383cafe 100644 --- a/config/paths-common.conf +++ b/config/paths-common.conf @@ -9,21 +9,36 @@ after = paths-overrides.local default_backend = %(default/backend)s +# Initial common values (to overwrite in path-<distribution>.conf)... +# There is no sensible generic defaults for syslog log targets, thus +# leaving them empty here (resp. set to mostly used variant) in order +# to avoid errors while parsing/interpolating configs. +# +# Note systemd-backend does not need the logpath at all. +# +syslog_local0 = /var/log/messages + +syslog_authpriv = /var/log/auth.log +syslog_daemon = %(syslog_local0)s +syslog_ftp = %(syslog_local0)s +syslog_mail = +syslog_mail_warn = +syslog_user = %(syslog_local0)s + +# Set the default syslog backend target to default_backend +syslog_backend = %(default_backend)s + +# Default values for several jails: + sshd_log = %(syslog_authpriv)s sshd_backend = %(default_backend)s dropbear_log = %(syslog_authpriv)s dropbear_backend = %(default_backend)s -# There is no sensible generic defaults for syslog log targets, thus -# leaving them empty here so that no errors while parsing/interpolating configs -syslog_daemon = -syslog_ftp = -syslog_local0 = -syslog_mail_warn = -syslog_user = -# Set the default syslog backend target to default_backend -syslog_backend = %(default_backend)s +apache_error_log = /var/log/apache2/*error.log + +apache_access_log = /var/log/apache2/*access.log # from /etc/audit/auditd.conf auditd_log = /var/log/audit/audit.log |