Log4j Example

Description :  Log4j Example with BasicConfigurator and PropertyConfigurator 


 

/*>>>>>>>>>>>>>>>log4j.properties<<<<<<<<<<<<<<<<<<<<*/ log4j.rootLogger=WARN, CA log4j.appender.CA=org.apache.log4j.ConsoleAppender log4j.appender.CA.layout=org.apache.log4j.PatternLayout log4j.appender.CA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n /*>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/

Rate this post

Leave a Reply