From 95bd2ebdcb30246d1f585ccb0336b3f3aa5519c7 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Tue, 17 Feb 2026 16:35:23 +0100 Subject: syslog: T8272: remove dead code from previous "file" logging support Commit 395e3cb72 ("syslog: T6989: remove 'file' logging destination") removed CLI support for custom file based logging targets. The code about logrotate was not removed and just stayed "dead". Dead code is removed by this commit. --- data/templates/rsyslog/logrotate.j2 | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 data/templates/rsyslog/logrotate.j2 (limited to 'data') diff --git a/data/templates/rsyslog/logrotate.j2 b/data/templates/rsyslog/logrotate.j2 deleted file mode 100644 index 4434a3a32..000000000 --- a/data/templates/rsyslog/logrotate.j2 +++ /dev/null @@ -1,13 +0,0 @@ -### Autogenerated by system_syslog.py ### -{% if file is vyos_defined %} -{% for file_name, file_options in file.items() %} -/var/log/user/{{ file_name }} { - missingok - notifempty - create - rotate {{ file_options.archive.file }} - size={{ file_options.archive.size | int // 1024 }}k -} - -{% endfor %} -{% endif %} -- cgit v1.2.3