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 Amy Cheung <am...@yahoo.com> on 2002/12/18 17:56:01 UTC
Re: How to prepend a line to the beginning of a log file after each r ollover?
override getHeader() in Layout class, that should do
it.
--- Bradley.Liu@Terabeam.com wrote:
> Log4j gurus,
>
> I am new to the list. I did a quick search in mail
> archive, and did not
> find any discussion on a similar topic.
>
> What I want to do is to prepend the log format at
> the beginning of the log
> file each time the log is rolled over with
> org.apache.log4j.RollingFileAppender. This format
> string is used by another
> tool to determine how to process that particular log
> file. Is this
> functionality currently supported by log4j? If not,
> will it be supported in
> the future releases?
>
> Thanks,
> Bradley
>
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>