noel        2004/04/20 13:42:18

  Modified:    src/java/org/apache/james/util Tag: branch_2_1_fcs
                        NetMatcher.java
  Log:
  For better diagnostics, log the host that we can't resolve
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.9   +1 -1      james-server/src/java/org/apache/james/util/NetMatcher.java
  
  Index: NetMatcher.java
  ===================================================================
  RCS file: /home/cvs/james-server/src/java/org/apache/james/util/NetMatcher.java,v
  retrieving revision 1.1.2.8
  retrieving revision 1.1.2.9
  diff -u -r1.1.2.8 -r1.1.2.9
  --- NetMatcher.java   13 Apr 2004 01:39:44 -0000      1.1.2.8
  +++ NetMatcher.java   20 Apr 2004 20:42:18 -0000      1.1.2.9
  @@ -66,7 +66,7 @@
           }
           catch (java.net.UnknownHostException uhe)
           {
  -            log("Cannot resolve address: " + uhe.getMessage());
  +            log("Cannot resolve address for " + hostIP + ": " + uhe.getMessage());
           }
   
           boolean sameNet = false;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to