diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-04 10:30:40 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-04 10:30:40 +1300 |
commit | 97551c24bd063d2d350eac141ce5cfbf94927187 (patch) | |
tree | 54393fbff41db2ce8317fc56e6901ff88e71a32a /src/org | |
parent | 5449930102d9a1dc6ef6bb09f6bcbdcb2f8bf150 (diff) | |
download | trackermap-server-97551c24bd063d2d350eac141ce5cfbf94927187.tar.gz trackermap-server-97551c24bd063d2d350eac141ce5cfbf94927187.tar.bz2 trackermap-server-97551c24bd063d2d350eac141ce5cfbf94927187.zip |
Disable JVM logs (fix #4083)
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/helper/Log.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/helper/Log.java b/src/org/traccar/helper/Log.java index fa732dc9c..9bc86b137 100644 --- a/src/org/traccar/helper/Log.java +++ b/src/org/traccar/helper/Log.java @@ -171,6 +171,9 @@ public final class Log { handler.setLevel(level); rootLogger.addHandler(handler); + + Logger.getLogger("sun").setLevel(Level.OFF); + Logger.getLogger("java").setLevel(Level.OFF); } public static String exceptionStack(Throwable exception) { |