logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Cheshire" <cheshira...@gmail.com>
Subject Re: dynamically adding to a log file name?
Date Thu, 09 Nov 2006 19:23:35 GMT
Doh....I got this solved, I used &lt; &gt; entities in the layout
specification and it worked.

Thanks for the help James, the MDC helps with the logging of a comment
at the end of the file, and that combined with your
DateFormatFileAppender is good enough for what I need.



On 11/9/06, Chris Cheshire <cheshirator@gmail.com> wrote:
> On 11/9/06, James Stauffer <stauffer.james@gmail.com> wrote:
> > Search the archives for people who wanted a separate log per MDC value
> > (usually login name).
> >
> OK I found the MDC section in the manual and it looks to be what I
> need *except* I cannot create XML style comments in the log file to
> contain the MDC value.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message