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 <[EMAIL PROTECTED]> 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 >