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:37 +0000 |
commit | 1621d841aced7bdc295a572a412613be1ec404c0 (patch) | |
tree | 7fe3a4f6c10219d84899d5b4c84e53090d98e352 /interface-definitions/system_syslog.xml.in | |
parent | 6450c7d964352503c99347bdf1d6bd5c673b37bd (diff) | |
download | vyos-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/system_syslog.xml.in')
-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> |