logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob L. Anawalt" <janaw...@geckosoftware.com>
Subject Re: How to set a FileAppender to STDOUT?
Date Wed, 11 Jun 2008 22:38:25 GMT
Peter Steele wrote:
> which works in log4j but this just creates a file called System.out in
> log4cxx. What's the magic formula?

Here's my un-magic invocation:

<appender name="FILE" class="org.apache.log4j.ConsoleAppender">

I hadn't thought to try this, so I looked it up for you. The API docs for 
FileAppender say:

Note that the special values "System.out" or "System.err" are no longer honored.

Jacob Anawalt
Gecko Software, Inc.

View raw message