You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by ti...@apache.org on 2016/10/19 00:28:19 UTC
asterixdb git commit: fix some log levels
Repository: asterixdb
Updated Branches:
refs/heads/master f309eb4af -> 30c5959d5
fix some log levels
Change-Id: I4810f02e1be0b4a4b5238afa7b929ff547beef06
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1302
Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mb...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/30c5959d
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/30c5959d
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/30c5959d
Branch: refs/heads/master
Commit: 30c5959d5241392bc1c3aef30575d06bcd4d2eee
Parents: f309eb4
Author: Till Westmann <ti...@apache.org>
Authored: Tue Oct 18 14:25:14 2016 -0700
Committer: Till Westmann <ti...@apache.org>
Committed: Tue Oct 18 17:27:40 2016 -0700
----------------------------------------------------------------------
.../hyracks/api/lifecycle/LifeCycleComponentManager.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/30c5959d/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/lifecycle/LifeCycleComponentManager.java
----------------------------------------------------------------------
diff --git a/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/lifecycle/LifeCycleComponentManager.java b/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/lifecycle/LifeCycleComponentManager.java
index d4d2bce..d6961b3 100644
--- a/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/lifecycle/LifeCycleComponentManager.java
+++ b/hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/lifecycle/LifeCycleComponentManager.java
@@ -119,8 +119,8 @@ public class LifeCycleComponentManager implements ILifeCycleComponentManager {
}
componentDumpStream = new FileOutputStream(f);
}
- if (LOGGER.isLoggable(Level.SEVERE)) {
- LOGGER.severe("Stopping component instance" + component.getClass().getName() + " dump state "
+ if (LOGGER.isLoggable(Level.INFO)) {
+ LOGGER.info("Stopping component instance " + component.getClass().getName() + " dump state "
+ dumpState + " dump path " + componentDumpPath);
}
component.stop(dumpState, componentDumpStream);
@@ -143,12 +143,12 @@ public class LifeCycleComponentManager implements ILifeCycleComponentManager {
dumpPath = configuration.get(Config.DUMP_PATH_KEY);
if (dumpPath == null) {
dumpPath = System.getProperty("user.dir");
- if (LOGGER.isLoggable(Level.SEVERE)) {
- LOGGER.severe("dump path not configured. Using current directory " + dumpPath);
+ if (LOGGER.isLoggable(Level.WARNING)) {
+ LOGGER.warning("dump path not configured. Using current directory " + dumpPath);
}
}
if (LOGGER.isLoggable(Level.INFO)) {
- LOGGER.severe("LifecycleComponentManager configured " + this);
+ LOGGER.info("LifecycleComponentManager configured " + this);
}
configured = true;
}