cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject [10/19] cayenne git commit: + slf4j to build-tools/cayenne-test-utilities
Date Wed, 26 Apr 2017 10:09:24 GMT
+ slf4j to build-tools/cayenne-test-utilities


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/620f7670
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/620f7670
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/620f7670

Branch: refs/heads/master
Commit: 620f76705be0114beb91f6635b5ac2604e3fc4f6
Parents: 4bc4dd1
Author: Maxim Petrusevich <maks1464@gmail.com>
Authored: Wed Apr 12 12:20:16 2017 +0300
Committer: Maxim Petrusevich <maks1464@gmail.com>
Committed: Wed Apr 12 12:20:16 2017 +0300

----------------------------------------------------------------------
 build-tools/cayenne-test-utilities/pom.xml                     | 4 ++++
 .../main/java/org/apache/cayenne/test/jdbc/UtilityLogger.java  | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/620f7670/build-tools/cayenne-test-utilities/pom.xml
----------------------------------------------------------------------
diff --git a/build-tools/cayenne-test-utilities/pom.xml b/build-tools/cayenne-test-utilities/pom.xml
index 714850b..baa98eb 100644
--- a/build-tools/cayenne-test-utilities/pom.xml
+++ b/build-tools/cayenne-test-utilities/pom.xml
@@ -34,6 +34,10 @@
 
 	<dependencies>
 		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-api</artifactId>
+		</dependency>
+		<dependency>
 			<groupId>junit</groupId>
 			<artifactId>junit</artifactId>
 			<scope>compile</scope>

http://git-wip-us.apache.org/repos/asf/cayenne/blob/620f7670/build-tools/cayenne-test-utilities/src/main/java/org/apache/cayenne/test/jdbc/UtilityLogger.java
----------------------------------------------------------------------
diff --git a/build-tools/cayenne-test-utilities/src/main/java/org/apache/cayenne/test/jdbc/UtilityLogger.java
b/build-tools/cayenne-test-utilities/src/main/java/org/apache/cayenne/test/jdbc/UtilityLogger.java
index b3d58d8..39c17a2 100644
--- a/build-tools/cayenne-test-utilities/src/main/java/org/apache/cayenne/test/jdbc/UtilityLogger.java
+++ b/build-tools/cayenne-test-utilities/src/main/java/org/apache/cayenne/test/jdbc/UtilityLogger.java
@@ -18,12 +18,12 @@
  ****************************************************************/
 package org.apache.cayenne.test.jdbc;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 class UtilityLogger {
 
-    private static Log logger = LogFactory.getLog(UtilityLogger.class);
+    private static Logger logger = LoggerFactory.getLogger(UtilityLogger.class);
 
     static void log(String sql) {
         logger.info(sql);


Mime
View raw message