You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Manuela Vergerio <ma...@teaminformatica.ch> on 2005/10/11 12:41:15 UTC

Remove xml lines at the end of log file

Good morning,
 
I'm using log4j in my java application.
 
I need to close my File handler before ending my application but when I
do this at the end of my log's file (*.log) I found these lines:
 
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>
 
Is it possible to remove these lines?
Which property I need to set up in order of removing these lines??
 
Thanks in advance.
Best Regards
Manuela