11 Replies Latest reply on Mar 17, 2014 3:01 AM by zhihong liu

    Is it possible to redirect System.out.println log message to seperate file instead of server.log in JBoss AS 7?

    Hui Deng Newbie

      I have a requirement to redirect some log message in STDOUT to seperate log file instead of server.log for better trouble shotting, could anyone tell me if this is possible and how to do this? I've searched questions in this community, but still can not find an answer.


      BTW, the System.out.println() log message is generated in package com.sun.security, so I can not change the source code to use log4j by using Logger.getLogger().