board/common: reduce nginx and rouset default log level

Fixes #1349

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2026-01-26 19:54:58 +01:00
parent 6c0fd3e96b
commit 8d64f3d34b
2 changed files with 11 additions and 3 deletions
@@ -1,3 +1,3 @@
service name:rousette notify:none log <pid/confd> env:/etc/default/confd \
service name:rousette notify:none log:console <pid/confd> env:/etc/default/confd \
[12345] rousette --syslog -t $CONFD_TIMEOUT \
-- RESTCONF server
+10 -2
View File
@@ -19,6 +19,14 @@ http {
include /etc/nginx/enabled/*.conf;
access_log syslog:server=unix:/dev/log,nohostname,facility=local7,severity=info;
error_log syslog:server=unix:/dev/log,nohostname,facility=local7 info;
# Skip 2xx and 3xx
# Skip 400 (e.g., rrousette syntax errors)
map $status $loggable {
~^[23] 0;
400 0;
default 1;
}
access_log syslog:server=unix:/dev/log,nohostname,facility=local7,severity=warn combined if=$loggable;
error_log syslog:server=unix:/dev/log,nohostname,facility=local7 warn;
}