When you contact DB2 Customer Service, you may be requested to provide logs
or perform traces to help determine the cause of problems within DB2.
The following tables list the various type of logging, tracing, and alert
facilities provided by DB2.
DB2 Logging
|
Facility
| Platform
| Notes
| Refer to...
|
db2diag.log file
| All
|
- For clients and servers.
- Logs errors and (depending on the diagnostic level) warnings and
informational messages.
| First Failure Data Capture.
|
Alert file
| All
|
- For clients and servers.
- Contains severe DB2 errors.
| Alerts.
|
Dump files
| All
|
- For clients and servers.
- Provides additional information for some errors.
| Dump Files.
|
Trap files
| All
|
- For clients and servers.
- Files that are created by DB2 in the event of a segmentation violation or
trap.
| Trap Files.
|
DB2 message files
| All
|
- For servers.
- Logs activities during operations such as bind, load, import and
export.
| Using Message Files.
|
DB2 Performance monitor
| Windows NT, Windows 95, OS/2
|
- For clients and servers.
- Logs deadlocks and other performance information.
| The Database System Monitor, and the System Monitor Guide and
Reference.
|
Administrative tools log
| Windows NT, Windows 95, OS/2
|
- For clients and servers using the Control Center and other DB2
administrative tools.
- Logs information for the administrative tools.
| Using the Administrative Tools Log.
|
Traces
|
Facility
| Platform
| Notes
| Refer to...
|
db2trc
| All
|
- For clients and servers.
- Traces DB2 events.
| Using the DB2 Trace Facility (db2trc).
|
Administrative tools trace
| Windows NT, OS/2
|
- For clients and servers using the Control Center and other DB2
administrative tools.
- Traces problems with the administrative tools.
| Administration Tools Trace.
|
db2drdat
| All
|
- Traces DRDA requesters and servers.
| Taking a DRDA Trace (db2drdat) and DB2 Connect User's Guide.
|
ddcstrc
| All
|
- Traces DB2 Connect Enterprise Edition gateways.
| DB2 Connect User's Guide.
|
CLI trace
| All
|
- Traces CLI, JDBC, or ODBC applications.
| Refer to the CLI Guide and Reference manual.
|
SNA trace
| All
|
- Traces communications via SNA.
| Taking an SNA Trace.
|