Changeset 1839 for trunk/autoquest-htmlmonitor/src
- Timestamp:
- 12/04/14 10:10:03 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorLogManager.java
r1821 r1839 120 120 { 121 121 HtmlMonitorOutputWriter writer = 122 writers.get(clientInfos.getClientId() + clientInfos.get Url());122 writers.get(clientInfos.getClientId() + clientInfos.getWebAppId()); 123 123 124 124 try { 125 125 if (writer == null) { 126 126 synchronized (this) { 127 writer = writers.get(clientInfos.getClientId() + clientInfos.get Url());127 writer = writers.get(clientInfos.getClientId() + clientInfos.getWebAppId()); 128 128 if (writer == null) { 129 129 writer = new HtmlMonitorOutputWriter … … 133 133 writer.init(); 134 134 writer.start(); 135 writers.put(clientInfos.getClientId() + clientInfos.get Url(), writer);135 writers.put(clientInfos.getClientId() + clientInfos.getWebAppId(), writer); 136 136 } 137 137 } … … 148 148 // determine, if the writer exists but is not able to log something. In this case, 149 149 // destroy the writer (part of the message may be logged twice through this). 150 writer = writers.get(clientInfos.getClientId() + clientInfos.get Url());150 writer = writers.get(clientInfos.getClientId() + clientInfos.getWebAppId()); 151 151 if (writer != null) { 152 152 try { … … 155 155 catch (Exception e1) { 156 156 synchronized (this) { 157 writers.remove(clientInfos.getClientId() + clientInfos.get Url());157 writers.remove(clientInfos.getClientId() + clientInfos.getWebAppId()); 158 158 writer.stop(); 159 159 }
Note: See TracChangeset
for help on using the changeset viewer.