This content has been marked as final. 
    
Show                 4 replies
    
- 
        1. Re: How to Reassign the "Standard" Output Stream Without System.setOutwolfgangknauf Jan 6, 2011 9:12 AM (in response to ysaspb)Hi, do you know what logging framework the application uses? If it is Log4j and the default JBoss Log4j implementation is used, take a look at this document: http://community.jboss.org/wiki/SeparatingApplicationLogs Hope this helps Wolfgang 
- 
        2. Re: How to Reassign the "Standard" Output Stream Without System.setOutysaspb Jan 6, 2011 11:35 AM (in response to wolfgangknauf)Thank you Wolfgang for the very interesting link. I'll read it carefully a little bit later. But it ‘is about log4j. The application I asked about does not any logging framework. It uses STDOUT. I would like to separate it’s OUT. 
- 
        3. Re: How to Reassign the "Standard" Output Stream Without System.setOutwolfgangknauf Jan 6, 2011 12:04 PM (in response to ysaspb)Hi, according to this (quite old) post, JBoss already redirects System.out.println outputs to Log4J: http://community.jboss.org/message/183440 So you just need to redirect the Log4J category "STDOUT" to a custom log file. Hope this helps Wolfgang 
- 
        4. Re: How to Reassign the "Standard" Output Stream Without System.setOutysaspb Jan 6, 2011 12:59 PM (in response to wolfgangknauf)Thank you, Wolfgang. I helps. 
 
    