Author: [log in to unmask]
Date: Wed Oct 28 15:06:15 2015
New Revision: 3906
Log:
[HPSJAVA-631] Remove logger flush causing crash.
Modified:
java/trunk/conditions/src/main/java/org/hps/conditions/cli/CommandLineTool.java
Modified: java/trunk/conditions/src/main/java/org/hps/conditions/cli/CommandLineTool.java
=============================================================================
--- java/trunk/conditions/src/main/java/org/hps/conditions/cli/CommandLineTool.java (original)
+++ java/trunk/conditions/src/main/java/org/hps/conditions/cli/CommandLineTool.java Wed Oct 28 15:06:15 2015
@@ -244,7 +244,6 @@
+ " ...");
DatabaseConditionsManager.getInstance().setDetector(detectorName, run);
LOGGER.config("Conditions manager was initialized successfully!");
- LOGGER.getHandlers()[0].flush();
} catch (final ConditionsNotFoundException e) {
throw new RuntimeException("Error setting up the conditions manager.", e);
}
|