good solution.
but i fail to see the need for extending the pattern
layout at all. if you can generate the SQL statement
and Log message as mentioned below what is the need
for a new extended pattern layout ? can you please
explain. i am, probably, missing something.
Mohan.
> as far as i can s
I am a newbie to log4j. Could you please explain
how to extend PatternLayout?
-Original Message-
From: Kevin Steppe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 2:20 PM
To: Log4J Users List
Subject: Re: JDBCAppender - Column values
LogEvents don't have fields for
LogEvents don't have fields for those items, and the JDBCAppender logs
LogEvent objects. So you'll have to do some coding.
A couple options off the top of my hand:
1) extend PatternLayout with conversion characters for all those things
2) override getLogStatement(...) in JDBCAppender.
3) creat