Index: trunk/src/org/openstreetmap/josm/Main.java
===================================================================
--- trunk/src/org/openstreetmap/josm/Main.java	(revision 4189)
+++ trunk/src/org/openstreetmap/josm/Main.java	(revision 4190)
@@ -152,9 +152,19 @@
 
     /**
-     * Print a debug message if debugging is on.
-     */
-    static public int debug_level = 1;
+     * Print a message if logging is on.
+     */
+    static public int log_level = 2;
+    static public void warn(String msg) {
+        if (log_level < 1)
+            return;
+        System.out.println(msg);
+    }
+    static public void info(String msg) {
+        if (log_level < 2)
+            return;
+        System.out.println(msg);
+    }
     static public void debug(String msg) {
-        if (debug_level <= 0)
+        if (log_level < 3)
             return;
         System.out.println(msg);
@@ -441,5 +451,4 @@
                 if(!Main.pref.get("gui.geometry").equals(geometry)) {
                     // remember this geometry
-                    // Main.debug("Main window: saving geometry \"" + geometry + "\"");
                     Main.pref.put("gui.geometry", geometry);
                 }
@@ -451,5 +460,4 @@
             bounds = !args.containsKey("no-maximize") ? new Rectangle(0,0,screenDimension.width,screenDimension.height) : new Rectangle(1000,740);
         }
-        // Main.debug("window geometry: "+bounds);
     }
 
