logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SIS Enterprises" <...@sis-inc.net>
Subject RE: example
Date Sun, 06 May 2007 17:26:28 GMT


#set the level of the root logger to DEBUG (the lowest level) 
log4j.rootLogger = DEBUG, DAILY

#set the appender DAILY
log4j.appender.DAILY=org.apache.log4j.DailyRollingFileAppender
log4j.appender.DAILY.File=ipm_out.log
log4j.appender.DAILY.DatePattern='.'yyyy-MM-dd

log4j.appender.DAILY.layout=org.apache.log4j.PatternLayout
log4j.appender.DAILY.layout.conversionPattern=%d{yyyy-MM-dd -       
- HH:mm:ss,SSS},%c,%p - %m%n


-----Original Message-----
From: venu madhav [mailto:vyelamanchili@miraclesoft.com] 
Sent: Sunday, May 06, 2007 7:52 AM
To: general@logging.apache.org
Subject: example

Hi ,
              Can any body send me the example of webapp using log4j 
where the logging is done to file and not console.

-- 
Regards,

Venu madhav.Yelamanchili

Software Trainee

Miracle Software Systems

Email: vyelamanchili@miraclesoft.com





Mime
View raw message