summaryrefslogtreecommitdiff
path: root/smoketest/configs
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-08 21:27:14 +0200
committerChristian Breunig <christian@breunig.cc>2023-05-08 22:45:53 +0200
commit1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940 (patch)
tree74b294e319ebad8c046756e91ce0f17a32fdcb3e /smoketest/configs
parent43b4d30ed0298565ce7cf891fbd72c5a7484dac6 (diff)
downloadvyos-1x-1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940.tar.gz
vyos-1x-1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940.zip
syslog: T2778: migrate to get_config_dict()
Diffstat (limited to 'smoketest/configs')
-rw-r--r--smoketest/configs/basic-vyos34
1 files changed, 30 insertions, 4 deletions
diff --git a/smoketest/configs/basic-vyos b/smoketest/configs/basic-vyos
index 23186b9b8..033c1a518 100644
--- a/smoketest/configs/basic-vyos
+++ b/smoketest/configs/basic-vyos
@@ -127,14 +127,40 @@ system {
}
name-server 192.168.0.1
syslog {
- global {
- archive {
- file 5
- size 512
+ console {
+ facility all {
+ level emerg
+ }
+ facility mail {
+ level info
}
+ }
+ global {
facility all {
level info
}
+ facility protocols {
+ level debug
+ }
+ facility security {
+ level info
+ }
+ preserve-fqdn
+ }
+ host syslog.vyos.net {
+ facility local7 {
+ level notice
+ }
+ facility protocols {
+ level alert
+ }
+ facility security {
+ level warning
+ }
+ format {
+ octet-counted
+ }
+ port 8000
}
}
time-zone Europe/Berlin