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 1822)
+++ trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorLogManager.java	(revision 1839)
@@ -120,10 +120,10 @@
     {
         HtmlMonitorOutputWriter writer =
-            writers.get(clientInfos.getClientId() + clientInfos.getUrl());
+            writers.get(clientInfos.getClientId() + clientInfos.getWebAppId());
         
         try {
             if (writer == null) {
                 synchronized (this) {
-                    writer = writers.get(clientInfos.getClientId() + clientInfos.getUrl());
+                    writer = writers.get(clientInfos.getClientId() + clientInfos.getWebAppId());
                     if (writer == null) {
                         writer = new HtmlMonitorOutputWriter
@@ -133,5 +133,5 @@
                         writer.init();
                         writer.start();
-                        writers.put(clientInfos.getClientId() + clientInfos.getUrl(), writer);
+                        writers.put(clientInfos.getClientId() + clientInfos.getWebAppId(), writer);
                     }
                 }
@@ -148,5 +148,5 @@
             // determine, if the writer exists but is not able to log something. In this case,
             // destroy the writer (part of the message may be logged twice through this).
-            writer = writers.get(clientInfos.getClientId() + clientInfos.getUrl());
+            writer = writers.get(clientInfos.getClientId() + clientInfos.getWebAppId());
             if (writer != null) {
                 try {
@@ -155,5 +155,5 @@
                 catch (Exception e1) {
                     synchronized (this) {
-                        writers.remove(clientInfos.getClientId() + clientInfos.getUrl());
+                        writers.remove(clientInfos.getClientId() + clientInfos.getWebAppId());
                         writer.stop();
                     }
