posted 14 years ago
Hi pals!
I'm working on a project which is actually consisting of two different webapps. We are using log4j for logging purposes. Now both webapps (actually each webapp defines its own logger) writes to a logfile through an appender which is configured for daily rolling. the important thing is, that both webapps should write to the SAME appender.
Now I'm experiencing a strange problem with the rolled logfiles:
While the original logfiles are working correctly, as soon as the logfiles a rolled, only the output of one of the webapps is appearing there. Furthermore, the rolled file doesn't contain yesterdays, but todays content (...of only one of the webapps).
To mess things up even more, the configuration is working fine on three different testsystems (which are configured absolutely the same way as the production system), the problem is only appearing in our production environment. Since our logging is pretty extensive, it could be that this only shows with heavy load.
Did anybody hear about a similar problem or even experienced anything like that?
Thank you so much for your comments, i'm going crazy about this!