diff options
author | Christian Breunig <christian@breunig.cc> | 2025-01-08 20:41:36 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-02-03 07:16:07 +0100 |
commit | 196797346b973d1eba3f3d000321786c54e3bdbf (patch) | |
tree | 55dcbf4eb4965ddb0182e7c77cc5af3523440e91 /data | |
parent | 395e3cb72c521ea9d62c0efd1620e679fc709cda (diff) | |
download | vyos-1x-196797346b973d1eba3f3d000321786c54e3bdbf.tar.gz vyos-1x-196797346b973d1eba3f3d000321786c54e3bdbf.zip |
syslog: T6989: remove CLI option for user terminal logging
Should be added as runtime option similar to "terminal monitor" known from
other vendors.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/rsyslog/rsyslog.conf.j2 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/data/templates/rsyslog/rsyslog.conf.j2 b/data/templates/rsyslog/rsyslog.conf.j2 index 67c062ab9..21bfbf822 100644 --- a/data/templates/rsyslog/rsyslog.conf.j2 +++ b/data/templates/rsyslog/rsyslog.conf.j2 @@ -49,16 +49,3 @@ $outchannel global,/var/log/messages,262144,/usr/sbin/logrotate {{ logrotate }} {% endif %} {% endfor %} {% endif %} - -{% if user is defined and user is not none %} -# Log to user terminal -{% for username, user_options in user.items() %} -{% set tmp = [] %} -{% if user_options.facility is vyos_defined %} -{% for facility, facility_options in user_options.facility.items() %} -{% set _ = tmp.append(facility.replace('all', '*') + '.' + facility_options.level.replace('all', '*')) %} -{% endfor %} -{% endif %} -{{ tmp | join(';') }} :omusrmsg:{{ username }} -{% endfor %} -{% endif %} |