Re: how to change the %m in PatternLayout

2008-04-09 Thread jm
lass you can perform any message > formatting/encoding. The Layout class takes a LogEvent and returns the > formatted string. It might also be possible to extend the PatternLayout. > > Matt > > > > > > On Tue, Apr 8, 2008 at 12:57 PM, jm <[EMAIL PROTECTED]> wrote:

how to change the %m in PatternLayout

2008-04-08 Thread jm
Hi, I need some functionality I don't know how to implement: Right now my big codebase is full of logger.info("a message"); stuff. I have a new requirement to format log files in a specific way, for instance: 20080408-18:57:24|ProcessA.java|23|hostname|this is where the message goes As you can see