Skip to content

Commit 357297f

Browse files
author
diego Dupin
committed
[misc] correcting wrong mention of log4j by slf4J
1 parent 486d986 commit 357297f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ correction:
6666
* CONJ-858 Properties parameter that differ from string not taken in account
6767

6868
### Easy logging
69-
If using log4j, just enabled package "org.mariadb.jdbc" log.
69+
If using slf4J, just enabled package "org.mariadb.jdbc" log.
7070

7171
level ERROR will log connection error
7272
level WARNING will log query errors
7373
level DEBUG will log queries
7474
level TRACE will log all exchanges with server.
7575

76-
If not using log4j, console will be used.
76+
If not using slf4J, console will be used.
7777
If really wanting to use JDK logger, System property "mariadb.logging.fallback" set to JDK will indicate to use common logging.
7878

7979

src/main/java/org/mariadb/jdbc/util/log/Loggers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public static void init() {
7777
loggerFactory = new Slf4JLoggerFactory();
7878
}
7979
} catch (ClassNotFoundException cle) {
80-
// log4j not in the classpath
80+
// slf4j not in the classpath
8181
}
8282
if (loggerFactory == null) {
8383
// default to console or use JDK logger if explicitly set by System property

0 commit comments

Comments
 (0)