Attached patch fixes a problem with the log.log(Level, Object...) method. Logging messages were logged only if the logging level was set to INFO or lower no matter which logging level was provided as parameter.

WanMil
Index: src/uk/me/parabola/log/Logger.java
===================================================================
--- src/uk/me/parabola/log/Logger.java  (revision 1538)
+++ src/uk/me/parabola/log/Logger.java  (working copy)
@@ -203,7 +203,7 @@
        }
 
        public void log(Level level, Object ... olist) {
-               if (log.isLoggable(Level.INFO))
+               if (log.isLoggable(level))
                        arrayFormat(level, olist);
        }
        
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to