diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-10-10 20:02:24 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-10-10 20:02:24 +1300 |
commit | a1edb0aefe22fbb2496c9f4c665750819dab9857 (patch) | |
tree | d7d4017d7c87631287799739640acfad1c5fc3b6 /src/org/traccar | |
parent | 0078b360e1d39981c941501c1dfa80b5f2d86d21 (diff) | |
parent | 5692ad122a148a68fdf26fe0c35e06cbfbc32620 (diff) | |
download | trackermap-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.java | 2 |
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() { |