diff --git a/core/java/src/net/i2p/util/LogManager.java b/core/java/src/net/i2p/util/LogManager.java index e9b7a2d18..4e94d63e4 100644 --- a/core/java/src/net/i2p/util/LogManager.java +++ b/core/java/src/net/i2p/util/LogManager.java @@ -199,11 +199,13 @@ public class LogManager { private void loadConfig() { Properties p = new Properties(); File cfgFile = new File(_location); - if ((_configLastRead > 0) && (_configLastRead > cfgFile.lastModified())) { - _log.debug("Short circuiting config read"); + if ((_configLastRead > 0) && (_configLastRead >= cfgFile.lastModified())) { + if (_log.shouldLog(Log.DEBUG)) + _log.debug("Short circuiting config read"); return; } else { - _log.debug("Loading config from " + _location); + if (_log.shouldLog(Log.DEBUG)) + _log.debug("Loading config from " + _location); } FileInputStream fis = null; try {