- Timestamp:
- 07/18/07 08:33:14 PM (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/LogicMail/src/org/logicprobe/LogicMail/util/Connection.java
r134 r135 149 149 ":" + serverPort + paramStr; 150 150 151 if(EventLogger.getMinimumLevel() >= EventLogger. DEBUG_INFO) {151 if(EventLogger.getMinimumLevel() >= EventLogger.INFORMATION) { 152 152 String msg = "Opening connection:\r\n"+connectStr+"\r\n"; 153 EventLogger.logEvent(AppInfo.GUID, msg.getBytes(), EventLogger. DEBUG_INFO);153 EventLogger.logEvent(AppInfo.GUID, msg.getBytes(), EventLogger.INFORMATION); 154 154 } 155 155 … … 159 159 localAddress = ((SocketConnection)socket).getLocalAddress(); 160 160 161 if(EventLogger.getMinimumLevel() >= EventLogger. DEBUG_INFO) {161 if(EventLogger.getMinimumLevel() >= EventLogger.INFORMATION) { 162 162 String msg = 163 163 "Connection established:\r\n"+ 164 "Input: "+input.getClass().toString()+"\r\n"+ 165 "Output: "+input.getClass().toString()+"\r\n"+ 164 "Socket: "+socket.getClass().toString()+"\r\n"+ 166 165 "Local address: "+localAddress+"\r\n"; 167 EventLogger.logEvent(AppInfo.GUID, msg.getBytes(), EventLogger. DEBUG_INFO);166 EventLogger.logEvent(AppInfo.GUID, msg.getBytes(), EventLogger.INFORMATION); 168 167 } 169 168 } … … 192 191 } 193 192 194 EventLogger.logEvent(AppInfo.GUID, "Connection closed".getBytes(), EventLogger. DEBUG_INFO);193 EventLogger.logEvent(AppInfo.GUID, "Connection closed".getBytes(), EventLogger.INFORMATION); 195 194 } 196 195
