Merge pull request #301 from nlevitt/fix-logging-config

fix logging config
This commit is contained in:
Barbara Miller
2020-01-22 14:42:22 -08:00
committed by GitHub
@@ -314,6 +314,9 @@ public class Heritrix {
useAdhocKeystore(startupOut);
}
// Restlet will reconfigure logging according to the system property
// so we must set it for -l to work properly
System.setProperty("java.util.logging.config.file", properties.getPath());
if (properties.exists()) {
FileInputStream finp = new FileInputStream(properties);
LogManager.getLogManager().readConfiguration(finp);