summaryrefslogtreecommitdiff
path: root/interface-definitions/system_syslog.xml.in
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:41 +0000
commit9a7d920ab7a9542fc3f3a4cddf50e6413a3c0198 (patch)
tree44f9523cc6889faf90f8fb5a5408dae7efbf4dea /interface-definitions/system_syslog.xml.in
parent4d63611ea56389b8344efb97251a79c2d41bd565 (diff)
downloadvyos-1x-9a7d920ab7a9542fc3f3a4cddf50e6413a3c0198.tar.gz
vyos-1x-9a7d920ab7a9542fc3f3a4cddf50e6413a3c0198.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/system_syslog.xml.in')
-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>