logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes.Fr...@kisters.de
Subject Re: How to set a FileAppender to STDOUT?
Date Thu, 12 Jun 2008 07:25:08 GMT
In Java, stdout is normally accessed using a console appender. Why are you 
using this construct in the first place?

Mit freundlichen Grüßen / Regards
Johannes Frank

"Peter Steele" <psteele@maxiscale.com> 
11.06.2008 20:34
Please respond to
"Log4CXX User" <log4cxx-user@logging.apache.org>

"Log4CXX User" <log4cxx-user@logging.apache.org>

How to set a FileAppender to STDOUT?

What do I need to specify in the File parameter to mean STDOUT? I have

  <appender name="FILE" class="org.apache.log4j.FileAppender">
    <param name="File"   value="System.out"/>

which works in log4j but this just creates a file called System.out in
log4cxx. What's the magic formula?

View raw message