We are facing a particular problem. Scenario: We have 3 servers that, with multiple instances of the component, write the transaction log to a single log file. We use log4j and servers running on Java 1.3. setAppend () is true, and implementation is DailyRollingFileAppender
Problem: At midnight, we expect the current log file to flip over with the new file name and start writing to the new file. This works well in our test setup (logs on a single server). In production, at midnight, a new file is created in which new records are recorded, but the minimized file is deleted.
Any help would be greatly appreciated, as it was after a couple of days, and we cannot get any conclusions for this problem.
source
share