summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-01-08 20:41:03 +0100
committerChristian Breunig <christian@breunig.cc>2025-02-03 07:16:07 +0100
commit395e3cb72c521ea9d62c0efd1620e679fc709cda (patch)
tree3b77c5471a2bece28be59b6c99cee4452af2ec64 /data/templates
parent6912eb2e5075ec2e5e326d10c127d7c81f4fbe47 (diff)
downloadvyos-1x-395e3cb72c521ea9d62c0efd1620e679fc709cda.tar.gz
vyos-1x-395e3cb72c521ea9d62c0efd1620e679fc709cda.zip
syslog: T6989: remove "file" logging destination
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/rsyslog/rsyslog.conf.j214
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 = [] %}