logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Kemp" <mattk...@gmail.com>
Subject Re: Setting Header for DailyRollingFileAppender
Date Fri, 16 Nov 2007 15:30:43 GMT
You need to extend one of the layout classes and add in getters and setters.
The header and footer in Layout only return null - indicating no
header/footer.

On Nov 15, 2007 7:43 PM, Satish Musunuru <Satish.Musunuru@codeobjects.com>
wrote:

> Hi,
>   How can I set the header for DailyRollingFileAppender
> programmatically? I see only getters for the header and footer, no
> setters in both the Layout and the PatternLayout classes.
>
> Thanks,
> Satish
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message