A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Other Open Source Projects
Log4j HTMLLayout (sort)
Ming Han Chung
Joined: Feb 21, 2006
Feb 21, 2006 13:41:00
Hey all, with the default HTMLLayout log4j appends every message in a separate row. I was wondering if there was any way you can set it so any info type messages would be added to the same column as a warning message.
Say it started like this
Info : Entering Blah into account
Info : Result
and keep them in one field that would only show the warn?. It doesn't have to sort by level exactly but any way to get multiple comment lines which
one function into one field would be great.
I agree. Here's the link:
subject: Log4j HTMLLayout (sort)
HTMLLayout format ?
Time column when using HTMLLayout in log4j
Changing Timestamp of HtmlLayout of log4j
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014