ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [11/50] [abbrv] incubator-ignite git commit: #IGNITE-53: Change log on U.log
Date Mon, 26 Jan 2015 10:01:52 GMT
#IGNITE-53: Change log on U.log


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

Branch: refs/heads/ignite-86
Commit: 222721bfe5637af4e97a85c1f6c69b4561350a80
Parents: 5ee9442
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Mon Jan 19 19:45:51 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Mon Jan 19 19:45:51 2015 +0300

----------------------------------------------------------------------
 .../kernal/processors/cache/CacheWeakQueryIteratorsHolder.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/222721bf/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/CacheWeakQueryIteratorsHolder.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/CacheWeakQueryIteratorsHolder.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/CacheWeakQueryIteratorsHolder.java
index 2980663..f955695 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/CacheWeakQueryIteratorsHolder.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/CacheWeakQueryIteratorsHolder.java
@@ -20,6 +20,7 @@ package org.gridgain.grid.kernal.processors.cache;
 import org.apache.ignite.*;
 import org.gridgain.grid.cache.query.*;
 import org.gridgain.grid.util.*;
+import org.gridgain.grid.util.typedef.internal.*;
 import org.jdk8.backport.*;
 
 import java.lang.ref.*;
@@ -88,7 +89,7 @@ public class CacheWeakQueryIteratorsHolder<V> {
                     fut.cancel();
             }
             catch (IgniteCheckedException e) {
-                log.error("Failed to close iterator.", e);
+                U.error(log, "Failed to close iterator.", e);
             }
         }
     }
@@ -102,7 +103,7 @@ public class CacheWeakQueryIteratorsHolder<V> {
                 fut.cancel();
             }
             catch (IgniteCheckedException e) {
-                log.error("Failed to close iterator.", e);
+                U.error(log, "Failed to close iterator.", e);
             }
         }
 


Mime
View raw message