Thursday 31 May 2012

Log4j - Tricks

This post will grow as I find more little tricks and gotchas...

  1. Changing the timestamp format in the appender.
    Add %d{dd MMM yyyy HH:mm:ss,SSS} sooner than just %d and then edit the bits out you don't like.

Log4j manual...

No comments:

Post a Comment