ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: ignite-648: logger
Date Wed, 13 May 2015 11:55:05 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-648 d179e443e -> 3cc9f7f46


ignite-648: logger


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

Branch: refs/heads/ignite-648
Commit: 3cc9f7f46b3961341119bdbd73aafe314c698dcb
Parents: d179e44
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Wed May 13 14:55:30 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Wed May 13 14:55:30 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/multijvm/IgniteExProcessProxy.java         | 5 +++--
 .../internal/processors/cache/multijvm/IgniteNodeRunner.java    | 2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3cc9f7f4/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteExProcessProxy.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteExProcessProxy.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteExProcessProxy.java
index 469e425..e6946e3 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteExProcessProxy.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteExProcessProxy.java
@@ -66,10 +66,11 @@ public class IgniteExProcessProxy implements IgniteEx {
      * @param log Logger.
      * @param locJvmGrid Local jvm grid.
      */
-    public IgniteExProcessProxy(final IgniteConfiguration cfg, final IgniteLogger log, final
Ignite locJvmGrid) throws Exception {
+    public IgniteExProcessProxy(final IgniteConfiguration cfg, final IgniteLogger log, final
Ignite locJvmGrid)
+        throws Exception {
         this.cfg = cfg;
         this.locJvmGrid = locJvmGrid;
-        this.log = log.getLogger("jvm-" + id);
+        this.log = log.getLogger("jvm-" + id.toString().substring(0, id.toString().indexOf('-')));
 
         IgniteNodeRunner.storeToFile(cfg.getCacheConfiguration()[0]);
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3cc9f7f4/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteNodeRunner.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteNodeRunner.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteNodeRunner.java
index 32f33dc..6d06796 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteNodeRunner.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/IgniteNodeRunner.java
@@ -90,6 +90,8 @@ public class IgniteNodeRunner {
         IgniteConfiguration cfg = GridAbstractTest.getConfiguration0(gridName, new IgniteTestResources(),
             GridCachePartitionedMultiJvmFullApiSelfTest.class, false);
 
+        cfg.setGridLogger(null);
+
         TcpDiscoverySpi disco = new TcpDiscoverySpi();
 
 //        disco.setMaxMissedHeartbeats(Integer.MAX_VALUE);


Mime
View raw message