You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2014/01/10 16:15:41 UTC

[6/7] git commit: ACCUMULO-2160 back-port real bugs found by findbugs

ACCUMULO-2160 back-port real bugs found by findbugs


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

Branch: refs/heads/master
Commit: e4db592367099b53c6880ca2c94a851963b76efc
Parents: 4967454
Author: Eric Newton <er...@gmail.com>
Authored: Thu Jan 9 16:18:15 2014 -0500
Committer: Eric Newton <er...@gmail.com>
Committed: Thu Jan 9 16:18:15 2014 -0500

----------------------------------------------------------------------
 server/base/src/main/java/org/apache/accumulo/server/Accumulo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/e4db5923/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java b/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
index c546590..83f54b0 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
@@ -157,7 +157,7 @@ public class Accumulo {
     System.setProperty("org.apache.accumulo.core.host.log.port", Integer.toString(logPort));
     
     // Use a specific log config, if it exists
-    String logConfig = String.format("%s/%s_logger.xml", System.getenv("ACCUMULO_CONF_DIR"));
+    String logConfig = String.format("%s/%s_logger.xml", System.getenv("ACCUMULO_CONF_DIR"), application);
     if (!new File(logConfig).exists()) {
       // otherwise, use the generic config
       logConfig = String.format("%s/generic_logger.xml", System.getenv("ACCUMULO_CONF_DIR"));