logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject cvs commit: logging-log4j/src/java/org/apache/log4j/varia ExternallyRolledFileAppender.java
Date Wed, 11 May 2005 19:50:01 GMT
carnold     2005/05/11 12:50:01

  Modified:    src/java/org/apache/log4j/varia
                        ExternallyRolledFileAppender.java
  Log:
  Bug 30625: Javadoc improvment for ExternallyRolledFileAppender
  
  Revision  Changes    Path
  1.17      +11 -4     logging-log4j/src/java/org/apache/log4j/varia/ExternallyRolledFileAppender.java
  
  Index: ExternallyRolledFileAppender.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/varia/ExternallyRolledFileAppender.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ExternallyRolledFileAppender.java	11 May 2005 19:27:14 -0000	1.16
  +++ ExternallyRolledFileAppender.java	11 May 2005 19:50:01 -0000	1.17
  @@ -62,7 +62,14 @@
         this string constant is <b>OK</b>.
     */
     public static final String OK = "OK";
  +  /**
  +   * The port to listen on for rollover requests. 
  +   * The default value is <code>0</code> which disables listening for requests.
  +   */  
     private int port = 0;
  +  /**
  +   *  Request listening thread.
  +   */
     private HUP hup;
   
   
  @@ -74,15 +81,15 @@
     }
   
     /**
  -     The <b>Port</b> [roperty is used for setting the port for
  -     listening to external roll over messages.
  -  */
  +    * Sets the port monitored for rollover requests.
  +   */
     public void setPort(int port) {
       this.port = port;
     }
   
     /**
  -     Returns value of the <b>Port</b> option.
  +    * Gets the port monitored for rollover requests.  A value of <code>0</code>
  +    * indicates no monitoring.
      */
     public int getPort() {
       return port;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message