diff options
author | Christian Breunig <christian@breunig.cc> | 2025-01-08 20:41:03 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-02-03 07:16:07 +0100 |
commit | 395e3cb72c521ea9d62c0efd1620e679fc709cda (patch) | |
tree | 3b77c5471a2bece28be59b6c99cee4452af2ec64 /data | |
parent | 6912eb2e5075ec2e5e326d10c127d7c81f4fbe47 (diff) | |
download | vyos-1x-395e3cb72c521ea9d62c0efd1620e679fc709cda.tar.gz vyos-1x-395e3cb72c521ea9d62c0efd1620e679fc709cda.zip |
syslog: T6989: remove "file" logging destination
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/rsyslog/rsyslog.conf.j2 | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/data/templates/rsyslog/rsyslog.conf.j2 b/data/templates/rsyslog/rsyslog.conf.j2 index 253a4bee2..67c062ab9 100644 --- a/data/templates/rsyslog/rsyslog.conf.j2 +++ b/data/templates/rsyslog/rsyslog.conf.j2 @@ -24,20 +24,6 @@ $outchannel global,/var/log/messages,262144,/usr/sbin/logrotate {{ logrotate }} {{ tmp | join(';') }} :omfile:$global {% endif %} -{% if file is vyos_defined %} -# File based configuration section -{% for file_name, file_options in file.items() %} -{% set tmp = [] %} -$outchannel {{ file_name }},/var/log/user/{{ file_name }},{{ file_options.archive.size }},/usr/sbin/logrotate {{ logrotate }} -{% if file_options.facility is vyos_defined %} -{% for facility, facility_options in file_options.facility.items() %} -{% set _ = tmp.append(facility.replace('all', '*') + '.' + facility_options.level.replace('all', '*')) %} -{% endfor %} -{% endif %} -{{ tmp | join(';') }} :omfile:${{ file }} -{% endfor %} -{% endif %} - {% if console.facility is vyos_defined %} # Console logging {% set tmp = [] %} |