Ondra Babuljak

Greenhorn
+ Follow
since Nov 05, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ondra Babuljak

Originally posted by somkiat puisungnoen:
What do you mean about "backup files" ?



When the log file reaches the size specified in .setMaxFileSize(size) it should make a backup of the log file (number of backups is set by .setMaxBackupIndex(backupIndex)) and roll over the log file -> in this case the file app.log should be copied to app.log.1 and further logging should be written to rolled over file app.log
Hi all,

in my application I have a class DummyLogger, which is a superclass to all others. It provides them a log4j Logger.



In the constructor it sets up the important attributes:





Formerly I had the application as a pure java app and everything worked fine. Now I've made it a web application (I run it on WebsphereAS 5.0) and it has stopped creating the backup files. However the code remained the same.
Any ideas what has happend?



Thanks a lot,
Ondra