Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #12 from hkarakose/master
Browse files Browse the repository at this point in the history
fix for java.io.FileNotFoundException: /WEB-INF/retwis.log (No such file or directory) error in Tomcat
  • Loading branch information
scottfrederick committed Oct 4, 2013
2 parents 8a06f28 + 7c96008 commit af28b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions retwisj/src/main/resources/log4j.properties
Expand Up @@ -7,11 +7,11 @@ log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n

log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=${retwis.root}/WEB-INF/retwis.log
#log4j.appender.logfile.File=${retwis.root}/WEB-INF/retwis.log
log4j.appender.logfile.MaxFileSize=512KB
# Keep three backup files.
log4j.appender.logfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n
#log4j.logger.org.springframework.web=DEBUG
#log4j.logger.org.springframework.web=DEBUG

0 comments on commit af28b33

Please sign in to comment.