pgoldstein    2002/08/12 15:28:14

  Modified:    src/java/org/apache/james/smtpserver SMTPServer.java
  Log:
  This patch adds the bind address to the listening string returned by the
  servers.  Adds dispose to POP3Server, which was the only one missing it.
  Corrects minor spelling errors, removes tabs, changes hardcoded 4554
  port to 4555 to match james-config.xml and documentation.
  
  Thanks to Noel Bergman for the patch
  
  Revision  Changes    Path
  1.8       +9 -0      
jakarta-james/src/java/org/apache/james/smtpserver/SMTPServer.java
  
  Index: SMTPServer.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-james/src/java/org/apache/james/smtpserver/SMTPServer.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SMTPServer.java   12 Aug 2002 18:51:11 -0000      1.7
  +++ SMTPServer.java   12 Aug 2002 22:28:14 -0000      1.8
  @@ -61,6 +61,15 @@
       public void initialize() throws Exception {
           getLogger().info("SMTPServer init...");
           super.initialize();
  +        StringBuffer logBuffer =
  +            new StringBuffer(128)
  +                .append("SMTPServer using ")
  +                .append(m_serverSocketType)
  +                .append(" on port ")
  +                .append(m_port)
  +                .append(" at ")
  +                .append(m_bindTo);
  +        getLogger().info( logBuffer.toString() );
           getLogger().info("SMTPServer ...init end");
           System.out.println("Started SMTP Server "+m_connectionName);
       }
  
  
  

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

Reply via email to