Hi all,
I´m using Log4j in an java application that generates a log file in the
server. I´m configuring Log4j with the propertyConfigurator (my
configuration is in a file). The problem is that I need to copy the log´s
information to another file and clear the log file at runtime. Well, I can
clear the file with the RandomAccessFile class but when I post a new message
in the log, Log4j doesn´t append it at the beginnig of the log file. The
result is a file with a lot of spaces (so much as bytes has been cleared
from the file) and, at the end of the file the new message.
I need to do this but I don´t know how to do it. Thanks a lot for your help
...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]