This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a web app running on tomcat. I have rolling file appender. I have configured log4j to write logs into say app.log
But I find that at a time app.log and app.log.1 are written at the same time.
I dont understand how this can be possible.
the file "app.log" is the current log, others are rolled files.
PM Me If You Want to get Urgent Help on Java Programming
Samyuktha S Kumar
Joined: Nov 07, 2012
Then only app.log should be updated at current point of time. If the file exceeds the max limit size then it rolls over to the next file
But in this case both app.log and app.log.1. are updated at same time. They have logs with the same timestamp inside it