Skip to content

Commit 7d0cd24

Browse files
authored
fix(includes): use correct ERROR log level for STTRACE example (#978)
Log level ERR doesn't exist and you will get an error if you try to set it in STTRACE. For example: ``` 2025-11-23 13:03:24 WRN Bad log level requested in STTRACE (pkg=beacon level=ERR error="slog: level string \"ERR\": unknown name" log.pkg=slogutil) ``` ERROR is correct and won't give you this error.
1 parent b90b5df commit 7d0cd24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/env-vars.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ STTRACE
33
generally mapping to a Go package. Enter a comma-separated string of
44
facilities to trace: ``api,beacon``. Optionally, a log level can be
55
given per facility to specify something other than DEBUG:
6-
``api:WARN,beacon:ERR``, potentially overriding a global ``--log-level``
6+
``api:WARN,beacon:ERROR``, potentially overriding a global ``--log-level``
77
adjustment.
88

99
The valid facility strings are listed below; additionally, ``syncthing

0 commit comments

Comments
 (0)