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 chuanjiang lo <lo...@gmail.com> on 2007/01/18 18:46:24 UTC

Using HTMLLayout

Hi,

I am using HTMLLayout and logging into an html file.
Whenever the server restarts, it will continue logging into the same
previous html file.

I notice that the whole html header is appended into the html file again
because of the getHeader() in HTMLLayout class.
Is there anyway to avoid this? If the html file already exist, do not call
getHeader() method?

Regards