Database connection logging
- Last Updated: October 30, 2020
- 2 minute read
- OpenEdge
- Version 12.2
- Documentation
Database connection logging
Specifying the database connection (DB.Connects) log entry type turns on logging of database connections (connects and
disconnects) in the client log. (For information on configuring and enabling logging, see
Logging infrastructure overview.) The log messages include database
name and user ID number. Information is logged at logging level 2 (basic) and higher.
Log entries generated for this type contain the tag CONN.
An example of database connection logging messages (with headers
suppressed) is shown:
|
The default for the application server is ASPlumbing and DB.Connects. Generally, these log
entry types are together in an application server log. For example:
|
Logging for database connection control parameters
If you are using database connection control parameters (-dbalt1 or -dbalt2) to specify alternate databases to connect to, additional messages are logged. (For more information see Learn about automatic database reconnect.)
|
|
|
-autoReconnect is enabled, a message is logged:
|