diff options
author | Christian Breunig <christian@breunig.cc> | 2025-01-13 19:36:41 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-02-03 07:16:07 +0100 |
commit | e143e496e28b9d6d5803278fa76a14bf2bc2304e (patch) | |
tree | acd53d7bc565df571c4e8ed39e13420ed5b00736 /interface-definitions | |
parent | 8784aaa6fbec978aa97cab09cfbf9894163a2b1b (diff) | |
download | vyos-1x-e143e496e28b9d6d5803278fa76a14bf2bc2304e.tar.gz vyos-1x-e143e496e28b9d6d5803278fa76a14bf2bc2304e.zip |
syslog: T6989: convert old configuration format to "advanced"
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system_syslog.xml.in | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/interface-definitions/system_syslog.xml.in b/interface-definitions/system_syslog.xml.in index 68cb11423..acc7b4747 100644 --- a/interface-definitions/system_syslog.xml.in +++ b/interface-definitions/system_syslog.xml.in @@ -10,7 +10,7 @@ <children> <tagNode name="remote"> <properties> - <help>Logging to remote host</help> + <help>Log to remote host</help> <constraint> <validator name="ip-address"/> <validator name="fqdn"/> @@ -59,21 +59,26 @@ </tagNode> <node name="global"> <properties> - <help>Logging to system standard location</help> + <help>Log to standard system location /var/log/messages</help> </properties> <children> #include <include/syslog-facility.xml.i> <node name="marker"> <properties> - <help>mark messages sent to syslog</help> + <help>Mark messages sent to syslog</help> </properties> <children> <leafNode name="interval"> <properties> - <help>time interval how often a mark message is being sent in seconds</help> + <help>Mark message interval</help> + <valueHelp> + <format>u32:1-65535</format> + <description>Time in seconds</description> + </valueHelp> <constraint> - <validator name="numeric" argument="--positive"/> + <validator name="numeric" argument="--range 1-86400"/> </constraint> + <constraintErrorMessage>Port number must be in range 1 to 86400</constraintErrorMessage> </properties> <defaultValue>1200</defaultValue> </leafNode> @@ -89,7 +94,7 @@ </node> <node name="console"> <properties> - <help>logging to serial console</help> + <help>Log to system console (/dev/console)</help> </properties> <children> #include <include/syslog-facility.xml.i> |