Index: trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorLogManager.java
===================================================================
--- trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorLogManager.java	(revision 2244)
+++ trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorLogManager.java	(revision 2245)
@@ -115,7 +115,7 @@
      */
     @Override
-    public void handleMessage(HtmlClientInfos clientInfos,
-                              HtmlGUIElement  guiStructure,
-                              HtmlEvent[]     events)
+    public synchronized void handleMessage(HtmlClientInfos clientInfos,
+                                           HtmlGUIElement  guiStructure,
+                                           HtmlEvent[]     events)
     {
         HtmlMonitorOutputWriter writer =
@@ -124,16 +124,11 @@
         try {
             if (writer == null) {
-                synchronized (this) {
-                    writer = writers.get(clientInfos.getClientId() + clientInfos.getWebAppId());
-                    if (writer == null) {
-                        writer = new HtmlMonitorOutputWriter
-                            (logFileBaseDir, clientInfos.getWebAppId(),
-                             clientInfos.getClientId(), clientInfos.getUserAgent());
+                writer = new HtmlMonitorOutputWriter
+                    (logFileBaseDir, clientInfos.getWebAppId(),
+                     clientInfos.getClientId(), clientInfos.getUserAgent());
 
-                        writer.init();
-                        writer.start();
-                        writers.put(clientInfos.getClientId() + clientInfos.getWebAppId(), writer);
-                    }
-                }
+                writer.init();
+                writer.start();
+                writers.put(clientInfos.getClientId() + clientInfos.getWebAppId(), writer);
             }
 
