Application logging
Dear all,I have several web-applications developed with JDeveloper and deployed on a WLS.
Each application routes its System.out.println(whatever) command on the same weblogic.log file.
I would like to have a log file for each application instead.
I'm aware that in the WLS console I can set a different log file for each application, but as far as I've seen, the System.out.println() does not write into that log, hence the question: should I set a logging log4j wrapper in the java beans of each application in order to write to the related log file ? If so, could you please post a working code snippet ?
Each application routes its System.out.println(whatever) command on the same weblogic.log file.
I would like to have a log file for each application instead.
I'm aware that in the WLS console I can set a different log file for each application, but as far as I've seen, the System.out.println() does not write into that log, hence the question: should I set a logging log4j wrapper in the java beans of each application in order to write to the related log file ? If so, could you please post a working code snippet ?
0