BDatabase Config
Properties
Link copied to clipboard
@ConfigurationValue(path = "botcommands.database.dumpLongTransactions", defaultValue = "false" )
Whether transactions should trigger a coroutine dump & thread dump when running longer than the max transaction duration
Link copied to clipboard
@ConfigurationValue(path = "botcommands.database.logQueries", defaultValue = "false" )
Determines whether all SQL queries should be logged on TRACE
.
Link copied to clipboard
@ConfigurationValue(path = "botcommands.database.logQueryParameters", defaultValue = "true" )
Determines if the SQL query logger will replace query parameters by their value.
Link copied to clipboard
@ConfigurationValue(path = "botcommands.database.queryLogThreshold", type = "java.time.Duration" )
The duration a query has to run for it to be logged on WARN
.