This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Log4j HTMLLayout (sort) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j HTMLLayout (sort)" Watch "Log4j HTMLLayout (sort)" New topic

Log4j HTMLLayout (sort)

Ming Han Chung

Joined: Feb 21, 2006
Posts: 1
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

Warn : Test Case 2.2.3

and then

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 testing one function into one field would be great.
I agree. Here's the link:
subject: Log4j HTMLLayout (sort)