I have an application running on Sailfin that uses Log4j. I am using only one file ( myapp.csv). The maxium size is 1000KB and 10 files are allowed for the RollingFileAppender policy.
Running the application on a Standalone Sailfin everthing is happening fine. I mean, after the myapp.csv reachs 1000KB a new file myapp.csv.1 is created.
Running the application on a Cluster Sailfin (with two instances) the myapp.csv file reaches almost 2000KB and after that the myapp.csv.1 and myapp.csv.2 are created and Saifin writes on the three files at the same time.
If I disable one of the instances (let only one instance running) everything goes fine.