database category
This category of logs contains all database related operations. These logs are issued only if the database is enabled in the configuration.
The setup action means that database diagnostic has been done. It generates an "info" severity log or a “critical” severity log in the event of an error.
|
Field |
Description |
Type |
Mandatory/Optional |
|---|---|---|---|
|
host |
Database server host. Example: https://localhost:4000/static/one-login/.well-known/jwks.json domain.database |
String | Mandatory |
| port |
Port of the database server. Example: 5432 |
Integer | Mandatory |
| name | Name of the database. | String | Mandatory |
| schema | Database schema. | String | Mandatory |
| mode | Database authentication mode. | String | Mandatory |
| username | Name of the database user. | String | Mandatory |
The connect action means that a client is connected to the database. It generates a "debug" severity log, or "error" in the event of an error.
Only the generic log fields are available for this action. For more information, refer to section Generic log fields.
The query action means that a client connected to the database performed a query. It generates a "debug" severity log, or "error" in the event of an error.
Only the generic log fields are available for this action. For more information, refer to section Generic log fields.
The status action means that an unexpected database error occurred. The database is no longer accessible, but the connection can be restored at any time. It generates an "error" severity log.
Only the generic log fields are available for this action. For more information, refer to section Generic log fields.