Re: How to set email message header with SMTPAppender and PatternLayout

2014-07-22 Thread Remko Popma
oops... On Tue, Jul 22, 2014 at 9:37 PM, Gary Gregory wrote: > Remko shows 2.0 docs, this user is on 1.2... > > Gary > > > On Tue, Jul 22, 2014 at 7:40 AM, Remko Popma > wrote: > > > The PatternLayout has header/footer attributes to set some string for the > > beginning and end of each log fil

Re: How to set email message header with SMTPAppender and PatternLayout

2014-07-22 Thread Gary Gregory
Remko shows 2.0 docs, this user is on 1.2... Gary On Tue, Jul 22, 2014 at 7:40 AM, Remko Popma wrote: > The PatternLayout has header/footer attributes to set some string for the > beginning and end of each log file. > http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout > I'm

Re: How to set email message header with SMTPAppender and PatternLayout

2014-07-22 Thread Remko Popma
The PatternLayout has header/footer attributes to set some string for the beginning and end of each log file. http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout I'm not sure if it will be included in every email but it is worth trying. On Tue, Jul 22, 2014 at 8:29 PM, VolkerKop

How to set email message header with SMTPAppender and PatternLayout

2014-07-22 Thread VolkerKopetzky
Hi, I'm using log4j 1.2.15. The Appender used for email is: This works nicely, yet I would like to add additional email message headers to the message. Is that possible? If so, how can I add, for examp