hi iam having log4j.xml which i should use to view the output .iam using netbeans IDE .i imported
import org.apache.log4j.Logger; then i added
log4j.xml in source package .and apache
log4j to the libraries .
*.but how to import this log4j.xml file and view the output?*
import java.util.logging.Level;
import org.apache.log4j.Logger;
static Logger logger = Logger.getLogger( Header.class);
the how to use * logger* to view
ConsoleAppender and
PatternLayout