aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-10-10 20:02:24 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-10-10 20:02:24 +1300
commita1edb0aefe22fbb2496c9f4c665750819dab9857 (patch)
treed7d4017d7c87631287799739640acfad1c5fc3b6 /src/org/traccar
parent0078b360e1d39981c941501c1dfa80b5f2d86d21 (diff)
parent5692ad122a148a68fdf26fe0c35e06cbfbc32620 (diff)
downloadtrackermap-server-a1edb0aefe22fbb2496c9f4c665750819dab9857.tar.gz
trackermap-server-a1edb0aefe22fbb2496c9f4c665750819dab9857.tar.bz2
trackermap-server-a1edb0aefe22fbb2496c9f4c665750819dab9857.zip
Merge pull request #913 from jon-stumpf/enhancement-log-level
Add logger.level capability
Diffstat (limited to 'src/org/traccar')
-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() {