cancel
Showing results for 
Search instead for 
Did you mean: 

Difference of concept of trace and log

Former Member
0 Kudos

What's the difference between trace and log? Does trace file include contents of log file? I am confused these two concepts and their relationship. Please advise.

Thanks.

James

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Basically,Tracing is a complete set of information (messages) which allows you to monitor the performance of an instance of a component and the user activity that occurs in that component. Traces may allow you to determine whether your component or application is working efficiently and as expected, even as your application, component, and environment change.

While logging is .

Logging example: Starting an activity in an application component may be instrumented like one information message, as well as, stopping an activity like a second information message opposite to the first, starting an information message.

Tracing example: A detailed program flow may have a message which represents a path through component methods, describing components in a similar fashion to pseudo-coding (tracing).

Also pl go through given below link

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/standards-and-open....

<removed_by_moderator>

Thanks

Sukrugt S

Edited by: Julius Bussche on Jul 7, 2008 1:54 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Trace is monitoring each activity

Logging is set up some filters and then trace foreverer

You can say Logging is tracing activities but with some filters

Trace can be a content of log provided filter is setup for that activity

hope this helps