I'm seeing some strange behavior. We have an application that uses log4j and is running on Websphere 5.1 app server. I'm using the DailyRollingFileAppender to log to a file. Our application is in production. We're seeing that for a week or two the files will roll back correctly every day and then all of the sudden they will stop rolling. We have our application running on three app servers. The files will stop rolling on all three of the app servers. What I've noticed is that the files will roll if we restart the entire cluster (the three app servers). Then, if we happen to restart the application, but not the appservers, the app will log, but it won't roll the files.
Has anybody encountered such a problem before? If so, what have you done about it. We don't want to have to restart the entire cluster. We want to be able to just restart the app and have log4j work properly and roll our logs.
By the way, I've also tried using the RollingFileAppender (not the daily one) and we see the same problems.
Any help on this one would be greatly appreciated.