summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-07-18 13:52:49 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-07-18 13:52:49 -0500
commitf14a98b613b01aa12a5ab39682054494850d1043 (patch)
tree6d70168971ae96e0a2a9629472f01513dffd4003 /src
parentb2ffdb756f797787a639343bebb02e327e54483c (diff)
downloadvyos-1x-f14a98b613b01aa12a5ab39682054494850d1043.tar.gz
vyos-1x-f14a98b613b01aa12a5ab39682054494850d1043.zip
syslog: T2778: add missing argument for rsyslog.conf template
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/system-syslog.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/system-syslog.py b/src/conf_mode/system-syslog.py
index e05e7e29c..19c87bcee 100755
--- a/src/conf_mode/system-syslog.py
+++ b/src/conf_mode/system-syslog.py
@@ -45,6 +45,8 @@ def get_config(config=None):
syslog = conf.get_config_dict(base, key_mangling=('-', '_'),
get_first_key=True, no_tag_node_value_mangle=True)
+ syslog.update({ 'logrotate' : logrotate_conf })
+
tmp = is_node_changed(conf, base + ['vrf'])
if tmp: syslog.update({'restart_required': {}})