Save This Page
Home » apache-log4j-1.2.15 » org.apache » log4j » varia » [javadoc | source]
org.apache.log4j.varia
public class: Roller [javadoc | source]
java.lang.Object
   org.apache.log4j.varia.Roller
A simple application to send roll over messages to a potentially remote ExternallyRolledFileAppender .

It takes two arguments, the host_name and port_number where the ExternallyRolledFileAppender is listening.

Field Summary
static  Logger cat     
static  String host     
static  int port     
Constructor:
 Roller() 
Method from org.apache.log4j.varia.Roller Summary:
init,   main,   roll,   usage
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.varia.Roller Detail:
 static  void init(String hostArg,
    String portArg) 
 public static  void main(String[] argv) 
    Send a "RollOver" message to ExternallyRolledFileAppender on host and port.
 static  void roll() 
 static  void usage(String msg)