Skip to content

Commit e7c036c

Browse files
authored
Update logging.md (openhab#1515)
Both, the text description and the example output talk about logging level debug for the heating rule but the statement to set the log level used level info instead of level debug. To match the description and the example output it has to be log:set debug org.openhab.core.model.script.heating Signed-off-by: Wolfgang Schlueschen [email protected]
1 parent f822525 commit e7c036c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administration/logging.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ logDebug("heating", "Bedroom: Temperature: {}, Mode: {}", Bedroom_Temp.state, Be
161161
The main package of all script/rules based log entries is predefined as `org.openhab.core.model.script`.
162162
The chosen subpackage is appended to the end of the main package.
163163
It can be useful for filtering or package-based log level settings.
164-
For example you can use `log:set info org.openhab.core.model.script` and `log:set info org.openhab.core.model.script.heating` while you work on the heating rules to get debug level output for heating rules and only info level for the rest of your rules files so you don't flood the log with too many entries that are irrelevant at that point in time.
164+
For example you can use `log:set info org.openhab.core.model.script` and `log:set debug org.openhab.core.model.script.heating` while you work on the heating rules to get debug level output for heating rules and only info level for the rest of your rules files so you don't flood the log with too many entries that are irrelevant at that point in time.
165165

166166
An example output of the last log statement above is:
167167

0 commit comments

Comments
 (0)