File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Log4j HTMLLayout (sort)

Ming Han Chung
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic