Index: applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/FeatureAdapter.java
===================================================================
--- applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/FeatureAdapter.java	(revision 30847)
+++ applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/FeatureAdapter.java	(revision 30848)
@@ -7,4 +7,5 @@
 import java.net.URISyntaxException;
 import java.text.MessageFormat;
+import java.util.logging.Logger;
 
 public class FeatureAdapter {
@@ -19,6 +20,11 @@
     }
 
+    public static interface LoggingAdapter {
+        Logger getLogger(String name);
+    }
+
     private static BrowserAdapter browserAdapter = new DefaultBrowserAdapter();
     private static TranslationAdapter translationAdapter = new DefaultTranslationAdapter();
+    private static LoggingAdapter loggingAdapter = new DefaultLoggingAdapter();
 
     public static void registerBrowserAdapter(BrowserAdapter browserAdapter) {
@@ -30,4 +36,8 @@
     }
 
+    public static void registerLoggingAdapter(LoggingAdapter loggingAdapter) {
+        FeatureAdapter.loggingAdapter = loggingAdapter;
+    }
+
     public static void openLink(String url) {
         browserAdapter.openLink(url);
@@ -36,4 +46,8 @@
     public static String tr(String text, Object... objects) {
         return translationAdapter.tr(text, objects);
+    }
+    
+    public static Logger getLogger(String name) {
+        return loggingAdapter.getLogger(name);
     }
 
@@ -61,3 +75,10 @@
         }
     }
+
+    public static class DefaultLoggingAdapter implements LoggingAdapter {
+        @Override
+        public Logger getLogger(String name) {
+            return Logger.getLogger(name);
+        }
+    }
 }
