From faf7f3c15170c26267c3f7a239fd82e61ec8ce15 Mon Sep 17 00:00:00 2001 From: jon-stumpf Date: Fri, 10 Oct 2014 02:19:30 -0400 Subject: Added capability to set log level. --- src/org/traccar/helper/Log.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org') diff --git a/src/org/traccar/helper/Log.java b/src/org/traccar/helper/Log.java index a5e9f7594..7d8d24c21 100644 --- a/src/org/traccar/helper/Log.java +++ b/src/org/traccar/helper/Log.java @@ -48,7 +48,7 @@ public class Log { LogManager.resetConfiguration(); logger = Logger.getLogger(LOGGER_NAME); logger.addAppender(appender); - logger.setLevel(Level.ALL); + logger.setLevel(Level.toLevel(properties.getProperty("logger.level"), Level.ALL)); // Workaround for "Bug 745866 - (EDG-45) Possible netty logging config problem" InternalLoggerFactory.setDefaultFactory(new InternalLoggerFactory() { -- cgit v1.2.3