on 06-05-2007 12:22 PM
Hi all,
What is the difference between logging and tracing. Also how can i see the output of logging and tracing both.
Thanks,
Kulwant
HI kulwant
Logging and Tracing is used for Troubleshooting.
In Logging, you will get some high level informations/status where as in tracing, it wil help u to analyse further, step wise..
Tracing rewrites functions that help developers to recognize errors and solve problems. Logging information comprises the status of a technical component on an SAP J2EE server. The audit log of the Adapter Framework collects information for each message.
Logging:
a) Using configuration parameters LOGGING or LOGGING_SYNC for local integration engine.
Using configuration parameter LOGGING_PROPAGATION for globally (for all integration engines)
b) Activate logging for individual pipeline services
c) Set logging in the message header
d) Set logging in the trouble shooting settings
Tracing:
a) Using configuration parameters TRACING_LEVEL for local integration engine.
Using configuration parameter TRACING_LEVEL_PROPAGATION for globally (for all integration engines)
b) Set tracing in the message header
This will help u - fior more
http://help.sap.com/saphelp_nw2004s/helpdata/en/64/0b59010a65de44be4f26cb57b9580d/content.htm
e.g is SXMB_MONI -->Monitoring of xml messages
Cheers..
Vasu
<i>** Reward Points if found useful **</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kulwant,
Check this SAP note for clear understanding on this:
Note 751915 - Differences between trace, log and audit log
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Log file:
A log file contains generally intelligible information for system administrators. The information is sorted by categories and is used for system monitoring. Problem sources or critical information about the status of the system are logged in this file. If error messages occur, you can determine the software component that has caused the error using the location. If the log message does not provide enough details to eliminate the problem, you can find more detailed information about the error in the trace file.
Trace file:
A trace file contains detailed information for developers. This information can be very cryptic and extensive. It is sorted by location, which means by software packages in the Java environment, for example, "com.sap.aii.af". The trace file is used to analyze runtime errors. By setting a specific trace level for specific locations, you can analyze the behavior of individual code segments on class and method level. The file should be analyzed by SAP developers or experienced administrators.
<i>from SAP Note 751915 </i>
<i>[Reward if helpful]</i>
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.