on 12-21-2005 7:56 AM
Hi,
I am working on a j2ee project. How can we access the default log file? I have put many System.out.println(..) method in different classes in order to get the program flow and to track the origin of the error.
I opened the a log file named "defaultTrace.0.trc" in usr\sap\J2E\JC00\j2ee\cluster\server0\log installation directory. Although it shows the ecxeptions, It is not showing the messages that i have written to console with the help of System.out.println(..) method.
Can anybody tell me the location of the log file where i can find my messages sent through System.out.println(..) function?
Regards,
Sudheesh...
System.out.println goes to console, which is not a file... This whole thing is much easier if you use standard logging:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.