Archive

Archive for September, 2007

How to create excessive log for JSF

September 6, 2007 3 comments

I was in need of creating excessive log to learn JSF. Here is the steps to do that.

1. Create log4j.properties file

log4j.rootLogger=debug, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%p %t %c %m%n

2. Place “log4j-1.2.8.jar” file under WEB-INF/lib folder

3. Restart the application, Boom!!! you are done.

Advertisements
Categories: Uncategorized