Using DailyRollingAppender and the date in the log is off by one day

Any help would be appreciated, It seems that the time stamp in my logs except
for the current log is of by a day.  For example my activity.log.20040901
contains entries for 09/02/2004.
LVL 4
TheMajesticAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

schybertCommented:
Can you please post the configuration for the appender?
0
schybertCommented:
You have probably encountered this bug http://issues.apache.org/bugzilla/show_bug.cgi?id=43728 in some variation.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TheMajesticAuthor Commented:
log4j.logger.com.matrixone.ps.tomcat=debug, R
log4j.additivity.com.matrixone.ps.tomcat=false
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=/apps/WebSphere/pdmprod/AppServer/logs/ActionServletLogs/ExtendedRequestLog.log
log4j.appender.R.DatePattern='.'yyyy-MM-dd
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d{ISO8601}\t%p\t%m\n


this is the script i wrote.

the thing is half of the log is appened in ExtendedRequestLog.log and  other portion is appended in ExtendedRequestLog<Yesterdaydate>.log
0
schybertCommented:
And you are sure you don't have two java processes writing to the same file?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.