Show
Ignore:
Timestamp:
07/18/07 08:33:14 PM (18 months ago)
Author:
octorian
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/LogicMail/src/org/logicprobe/LogicMail/util/Connection.java

    r134 r135  
    149149                ":" + serverPort + paramStr; 
    150150         
    151         if(EventLogger.getMinimumLevel() >= EventLogger.DEBUG_INFO) { 
     151        if(EventLogger.getMinimumLevel() >= EventLogger.INFORMATION) { 
    152152            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); 
    154154        } 
    155155         
     
    159159        localAddress = ((SocketConnection)socket).getLocalAddress(); 
    160160 
    161         if(EventLogger.getMinimumLevel() >= EventLogger.DEBUG_INFO) { 
     161        if(EventLogger.getMinimumLevel() >= EventLogger.INFORMATION) { 
    162162            String msg = 
    163163                "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"+ 
    166165                "Local address: "+localAddress+"\r\n"; 
    167             EventLogger.logEvent(AppInfo.GUID, msg.getBytes(), EventLogger.DEBUG_INFO); 
     166            EventLogger.logEvent(AppInfo.GUID, msg.getBytes(), EventLogger.INFORMATION); 
    168167        } 
    169168    } 
     
    192191        } 
    193192         
    194         EventLogger.logEvent(AppInfo.GUID, "Connection closed".getBytes(), EventLogger.DEBUG_INFO); 
     193        EventLogger.logEvent(AppInfo.GUID, "Connection closed".getBytes(), EventLogger.INFORMATION); 
    195194    } 
    196195