summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-12 21:32:03 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-09-30 14:58:37 +0000
commit1621d841aced7bdc295a572a412613be1ec404c0 (patch)
tree7fe3a4f6c10219d84899d5b4c84e53090d98e352 /interface-definitions
parent6450c7d964352503c99347bdf1d6bd5c673b37bd (diff)
downloadvyos-1x-1621d841aced7bdc295a572a412613be1ec404c0.tar.gz
vyos-1x-1621d841aced7bdc295a572a412613be1ec404c0.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 (cherry picked from commit 042be39ccabb43a766e04a447207610ff017bd7d)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system_syslog.xml.in6
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>