Data Log and Traceability
Whereas Data log messages are written so that you can understand them in relation to the activity you were performing, trace messages might not be. There is no guarantee that you can diagnose any error situations from the information they contain. This utility can display server activity; create filters that focus on the actions of particular users, applications, or workstations; and filter at the SQL command level.
The system first stores the trace messages that trace providers generate in trace session buffers, and then delivers them directly to a trace consumer or writes them to a trace log.sometime stack trace may be used to identify the place in code from where error raised. stack trace may be recorded to logged the exception generated in application. Logging is basically maintain on different storage medium like database or text files. these logs are basically used in case of scrutiny of data.