on 04-28-2009 11:17 AM
Hi All,
I have an EJB and WEB application where i developed in Netweaver Studio 2004s. Now i'm required to implement the log into both application. I'm required to pull out the entire process including the process flow of each in daily basis, which mean in the end of the day i will see my log such as application_280409.log. Exisiting i'm using System.err.println in order to trace it out in Netweaver log. But i need to create it in another folder for daily basis. I just need to put all my System.err.println into the logging.
I tried to google and found out that there is a provided SAP Logging tool. It required me to create a log-configuration.xml for the EAR file. But how do i put it in my Java program level. Kinda confuse with it too. I need to have a file logging where the location of the file is not hardcode, i can specific where it located.
Thanks.
Regards,
adrian
You can use log4j utility. its a freeware.
It is the java logging utility and pretty simple to use.
Or you can develop a custom app where in you have a custom class containing write mthods being called with in your application. These methods should write into a file created may be based on the session id and stored at a location.
Good Luck
~Nitin
Edited by: Nitin Mahajan on May 1, 2009 6:44 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adrian,
This is link to the Logging documentation:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/5059dfe31672d4e10000000a42189c/frameset.htm
Tell me if this helps. If not, I will keep on searching.
Best regards,
Ekaterina
This might help you as well:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/content.htm
Best regards,
Ekaterina
hi
in addition to the above messages
refer the how we can integrate the 3rd party tools in the sap like log4j and jcl
bvr
Thanks for the guide.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.