diff options
Diffstat (limited to 'src/org/traccar/Main.java')
-rw-r--r-- | src/org/traccar/Main.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/org/traccar/Main.java b/src/org/traccar/Main.java index 144ad1ec7..0e29dcb59 100644 --- a/src/org/traccar/Main.java +++ b/src/org/traccar/Main.java @@ -20,6 +20,8 @@ import java.lang.management.MemoryMXBean; import java.lang.management.OperatingSystemMXBean; import java.lang.management.RuntimeMXBean; import java.util.Locale; +import org.jboss.netty.logging.InternalLoggerFactory; +import org.jboss.netty.logging.Log4JLoggerFactory; import org.traccar.helper.Log; public class Main { @@ -47,6 +49,13 @@ public class Main { } } + /** + * Workaround for "Bug 745866 - (EDG-45) Possible netty logging config problem" + */ + static { + InternalLoggerFactory.setDefaultFactory(new Log4JLoggerFactory()); + } + public static void main(String[] args) throws Exception { Locale.setDefault(Locale.ENGLISH); |