Making a long story short, while trying to debug an an issue in one of my applications, I noticed my debug statements were not writing to my logfile. In addition, the logfile would only be updated after I had just restarted my development server (WAS).
No errors were showing up anywhere, so I wrote a little wrapper around my method that wrote logger info to the console. That was when I noticed the configuration values at the end of the method had been replaced. Ultimately I was able to narrow the before and after until I had shown that a call out to class in a helper application (on the same server) had overwritten the previous values, including the output file. Sure enough, I went to that other file and there was the rest of the logger debug info from my application, as well as the mysterious "subsequent run" logs.
I have since found this condition in at least one other application using a different helper app. Since I am but one of about a dozen programmers, I assume there may be more.
Each application has its own log4j configuration and log file, including most of the helper apps. Most of those have a rootLogger setting. Nearly all are running inside the same JVM.
Googling didn't really help (at least the way I'd formed the query), so I'm looking for either things to try or places to look.
No errors were showing up anywhere, so I wrote a little wrapper around my method that wrote logger info to the console. That was when I noticed the configuration values at the end of the method had been replaced. Ultimately I was able to narrow the before and after until I had shown that a call out to class in a helper application (on the same server) had overwritten the previous values, including the output file. Sure enough, I went to that other file and there was the rest of the logger debug info from my application, as well as the mysterious "subsequent run" logs.
I have since found this condition in at least one other application using a different helper app. Since I am but one of about a dozen programmers, I assume there may be more.
Each application has its own log4j configuration and log file, including most of the helper apps. Most of those have a rootLogger setting. Nearly all are running inside the same JVM.
Googling didn't really help (at least the way I'd formed the query), so I'm looking for either things to try or places to look.