Skip to content

Commit

Permalink
This adds a new logger to our default log configuration that can be u…
Browse files Browse the repository at this point in the history
…tilized by user provided scripts. (#1340)

Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan authored Dec 5, 2021
1 parent 2108231 commit 31a6a46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
<AppenderRef ref="OSGI"/>
</Logger>

<!-- openHAB user based script logger configuration -->
<Logger level="TRACE" name="org.openhab.automation.script" />

<Logger level="ERROR" name="javax.jmdns"/>
<Logger level="ERROR" name="org.jupnp"/>

Expand Down
3 changes: 3 additions & 0 deletions launch/app/runtime/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
<AppenderRef ref="STDOUT"/>
</Logger>

<!-- openHAB user based script logger configuration -->
<Logger level="TRACE" name="org.openhab.automation.script" />

<Logger level="ERROR" name="javax.jmdns"/>
<Logger level="ERROR" name="org.jupnp"/>

Expand Down

0 comments on commit 31a6a46

Please sign in to comment.