aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/Log.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2014-10-10 02:19:30 -0400
committerjon-stumpf <jon.stumpf@gmail.com>2014-10-10 02:19:30 -0400
commitfaf7f3c15170c26267c3f7a239fd82e61ec8ce15 (patch)
treef9a586ac0bf80441080198fb77da9e29281798bd /src/org/traccar/helper/Log.java
parent21d69f45cd5badf52e175fc234c5c7bd3c2aeb35 (diff)
downloadtrackermap-server-faf7f3c15170c26267c3f7a239fd82e61ec8ce15.tar.gz
trackermap-server-faf7f3c15170c26267c3f7a239fd82e61ec8ce15.tar.bz2
trackermap-server-faf7f3c15170c26267c3f7a239fd82e61ec8ce15.zip
Added capability to set log level.
Diffstat (limited to 'src/org/traccar/helper/Log.java')
-rw-r--r--src/org/traccar/helper/Log.java2
1 files changed, 1 insertions, 1 deletions
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() {