/*
Logging In Java with the JDK 1.4 Logging API and Apache log4j
by Samudra Gupta
Apress Copyright 2003
ISBN:1590590996
*/
import org.apache.log4j.Logger;
publicclass SimpleLogging {
/** Creates a new instance of SimpleLogging */
public SimpleLogging() {
}
/**
* @param args the command line arguments
*/
publicstaticvoid main(String[] args) {
Logger logger =Logger.getLogger("name");
logger.info("Hello this is an info message");
}
}