Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Log4j  RSS feed

 
Shyam Narkhede
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Log4j is not creating back file.
These are the contents of log4j.properties file.

/**log4j.properties**/
log4j.rootCategory=DEBUG,R

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=C:\\Program Files\\WebSphere\\AppServer\\temp\\App_Log_File.log
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=[slf5s.start]%d{DATE}[slf5s.DATE]%n%p[slf5s.PRIORITY]%n%x[slf5s.NDC]%n%t[slf5s.THREAD]%n%c[slf5s.CATEGORY]%n%l[slf5s.LOCATION]%n%m[slf5s.MESSAGE]%n%n
log4j.appender.R.layout.ConversionPattern=%d{DATE} [DATE]%n%p [PRIORITY]%n%m [MESSAGE]%n%l [LOCATION]%n%n%n
log4j.appender.R.MaxFileSize=1500KB
log4j.appender.R.MaxBackupIndex=500

can anybody help me on this ?

Regards
Shyam Narkhede
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!