ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: IGNITE-1660 Fixed log message.
Date Wed, 14 Oct 2015 06:13:41 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc1 c5c015db5 -> 3f95d7491


IGNITE-1660 Fixed log message.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/3f95d749
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/3f95d749
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/3f95d749

Branch: refs/heads/ignite-843-rc1
Commit: 3f95d7491002eb8519e5a57eec9a55631118719d
Parents: c5c015d
Author: Andrey <anovikov@gridgain.com>
Authored: Wed Oct 14 13:13:39 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Wed Oct 14 13:13:39 2015 +0700

----------------------------------------------------------------------
 .../ignite/agent/handlers/DatabaseMetadataExtractor.java      | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/3f95d749/modules/control-center-agent/src/main/java/org/apache/ignite/agent/handlers/DatabaseMetadataExtractor.java
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/src/main/java/org/apache/ignite/agent/handlers/DatabaseMetadataExtractor.java
b/modules/control-center-agent/src/main/java/org/apache/ignite/agent/handlers/DatabaseMetadataExtractor.java
index 8e58329..f18f03f 100644
--- a/modules/control-center-agent/src/main/java/org/apache/ignite/agent/handlers/DatabaseMetadataExtractor.java
+++ b/modules/control-center-agent/src/main/java/org/apache/ignite/agent/handlers/DatabaseMetadataExtractor.java
@@ -95,7 +95,7 @@ public class DatabaseMetadataExtractor {
         try (Connection conn = connect(jdbcDriverJarPath, jdbcDriverCls, jdbcUrl, jdbcInfo))
{
             Collection<String> schemas = DbMetadataReader.getInstance().schemas(conn);
 
-            log.log(Level.FINE, "Collected schemas: " + schemas.size());
+            log.log(Level.FINE, "Finished collection of schemas [url=" + jdbcUrl + ", count="+
schemas.size() +"]");
 
             return schemas;
         }
@@ -113,12 +113,13 @@ public class DatabaseMetadataExtractor {
     @Remote
     public Collection<DbTable> metadata(String jdbcDriverJarPath, String jdbcDriverCls,
String jdbcUrl,
         Properties jdbcInfo, List<String> schemas, boolean tblsOnly) throws SQLException
{
-        log.log(Level.FINE, "Collecting database metadata...");
+        log.log(Level.FINE, "Start collecting database metadata [driver jar=" + jdbcDriverJarPath
+
+            ", driver class=" + jdbcDriverCls + ", url=" + jdbcUrl + "]");
 
         try (Connection conn = connect(jdbcDriverJarPath, jdbcDriverCls, jdbcUrl, jdbcInfo))
{
             Collection<DbTable> metadata = DbMetadataReader.getInstance().metadata(conn,
schemas, tblsOnly);
 
-            log.log(Level.FINE, "Collected metadata: " + metadata.size());
+            log.log(Level.FINE, "Finished collection of metadata [url=" + jdbcUrl + ", count="+
metadata.size() +"]");
 
             return metadata;
         }


Mime
View raw message