diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-12 21:32:03 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-30 14:58:41 +0000 |
commit | 9a7d920ab7a9542fc3f3a4cddf50e6413a3c0198 (patch) | |
tree | 44f9523cc6889faf90f8fb5a5408dae7efbf4dea /interface-definitions | |
parent | 4d63611ea56389b8344efb97251a79c2d41bd565 (diff) | |
download | vyos-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')
-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> |