on 01-06-2006 10:56 AM
Hi,
can someone tell me how i can see the console output of SAP WebAS JAVA in the console view of NWDS?
I want to display the content of some variables with System.put.println()
Thanks
Martin
Hi Martin,
1) Go to Visual administrator> Log Configuration.
2) Go to the 'System' node. You will see System.out and System.err nodes.
3) Set a suitable severity level for the nodes.
4) Save the settings. Now the system.out.println() will come in the default.trc (Folder: usr\sap\J2E\JC00\j2ee\cluster\server0\log)
Regards,
Anup.
Note: If found useful, please reward points.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i tried the first possibility. I changed the system.out and i can see all System.out.println() in default.trc. But after calling the Application two times i can not see the System.out.println()in default.trc further more. Is there any Chaching turned on?
Thanks Martin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
and how can i use this new logfile in a special applcation? I do not understand the coding for Logging API. Can you give me a simple example, that i can use in my code?
I have to use this spezial controler, but i do not know how?
Thanks Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are to Map the file in the log configuration then any sysout will drop the details in this file.
http://help.sap.com/saphelp_nw04/helpdata/de/31/2ee9cc7f5a404aa522d335b17d3d15/content.htm
if you want to have a logger inbuilt with your application (Web application) then you can go for log4j
Regards,
S.Divakar
Hi,
it is working,but ist it possible to save System.out.println() in a dedicated log
Thanks Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please refer the link http://help.sap.com/saphelp_nw04/helpdata/de/30/530607e0262a44b3a0030dfba35e15/content.htm
This will help you to control all the parameters..
Regards,
S.Divakar
User | Count |
---|---|
86 | |
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.