logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward L. Knoll" <ed.kn...@cosd.fedex.com>
Subject Re: separate log file for each thread
Date Fri, 01 Jun 2007 22:33:31 GMT
Look for references to the MDCFileAppender.  Believe this is a 3rd party
solution.   Don't recall where we found the source for this.  We utilize
this appender to separate log files for each thread in several of our
applications.  Couple of things we don't like about it, but it works
well enough.

On Thu, 2007-05-31 at 19:38 -0700, Patrick & Lisa wrote:

> Hi all -
> 
> I've been searching and have yet to find a definitive answer on how to
> create a separate log file for each thread.  I've read else where that the
> simplest way is to use post processing, but for my application that is
> difficult to do when debugging a live system.  The best solution would
> really be a separate log file for each thread.
> 
> I saw the http://stauffer.james.googlepages.com/*DateFormatFileAppender*.java
> but that doesn't meet what I'm looking for.  Any help would be much
> appreciated!
> 
> Thanks,
> Patrick

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message