I'm using JBoss version 3.21 on a Redhat Linux 9.
In the log4j.xml configuration file, there is an entry for a logger with the 
"org.jboss.logging.appender.DailyRollingFileAppender" appender.
Everything works well.

Recently I've been assigned a task to clean log files if they become to big.
I thought it would be as simple as deleting the files but that is not the case.
When deleting the file, it won't be created again so the logs are lost.
I tried erasing the file's entire content but leaving it on the file system but the 
effect is the same.

I'm sure I can use another file appender but I was hoping to make minimal changes.
Does anybody know why this behaviour occurs?
What does "DailyRollingFileAppender" does that "RollingFileAppender doesn't do?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833786#3833786

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833786


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to