diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-12 21:32:03 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-09-12 21:32:55 +0200 |
commit | 042be39ccabb43a766e04a447207610ff017bd7d (patch) | |
tree | 28da1ddd11c08491fefe062130de2e4b99889710 /interface-definitions | |
parent | 8f0a70cff733ade52a4c17b9e5062e5134098c1e (diff) | |
download | vyos-1x-042be39ccabb43a766e04a447207610ff017bd7d.tar.gz vyos-1x-042be39ccabb43a766e04a447207610ff017bd7d.zip |
syslog: T5367: add format option to include timezone in message
Add CLI option to include the systems timezone in the syslog message sent to
a collector. This can be enabled using:
set system syslog host <hostname> format include-timezone
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system_syslog.xml.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/system_syslog.xml.in b/interface-definitions/system_syslog.xml.in index 3343e2c59..0a9a00572 100644 --- a/interface-definitions/system_syslog.xml.in +++ b/interface-definitions/system_syslog.xml.in @@ -66,6 +66,12 @@ <valueless/> </properties> </leafNode> + <leafNode name="include-timezone"> + <properties> + <help>Include system timezone in syslog message</help> + <valueless/> + </properties> + </leafNode> </children> </node> </children> |