on 09-17-2004 5:57 PM
Hi,
how can I see the logs output by a J2EE application that doesn't use the logging api ? That is, it uses simple System.out.println and System.err.println
For example, if I install an application that uses log4j as a logging framework.
Thank you.
Thierry
Hi,
There is no managers folder in my installation (WAS 6.40) and when I look through all the output files in the log directories of my server, I don't find the output of my System.out statements.
Do I have to set some parameters somewhere in order for the system.out statements to end up in log files ?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to use a properties file (normally called log4j.properties) to determine characteristics of the log you have to put it in a place where log4j can find it.
If you run the SAP J2EE engine as a cluster this is most likely the directory j2ee/cluster/server...
If you still have problems I would reccommend to read the section "Default Initialization Procedure" of
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can see the output in the managers/console_logs directory in the _output file. However, if you use the log4j you can specify where the log file resides.
I hope this helps
D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.