mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-23 14:15:47 +00:00
Merge pull request #301 from nlevitt/fix-logging-config
fix logging config
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user