diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-02-17 16:35:23 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-02-17 16:37:33 +0100 |
| commit | 95bd2ebdcb30246d1f585ccb0336b3f3aa5519c7 (patch) | |
| tree | eff9b10fff03dcdf4c149b7c68e48a690c12e5b3 /data | |
| parent | 33752c9a41f2e79c1ef3884188968d0f48bc79d8 (diff) | |
| download | vyos-1x-95bd2ebdcb30246d1f585ccb0336b3f3aa5519c7.tar.gz vyos-1x-95bd2ebdcb30246d1f585ccb0336b3f3aa5519c7.zip | |
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.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/rsyslog/logrotate.j2 | 13 |
1 files changed, 0 insertions, 13 deletions
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 %} |
