Skip to content

Commit

Permalink
[jdbc] Fix logging not working (openhab#15722)
Browse files Browse the repository at this point in the history
The dependency change in openhab#15659 caused slf4j to be embedded into the bundle.

As a result the bundle no longer uses Pax Logging so it cannot find an SLF4J provider and logs the following when it is installed:

SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
  • Loading branch information
wborn authored and austvik committed Mar 27, 2024
1 parent a919281 commit 42e6625
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bundles/org.openhab.persistence.jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-dbutils</groupId>
Expand Down

0 comments on commit 42e6625

Please sign in to comment.