class DataSourceProxyConfigurationProperties.SlowQueryLogger extends Object
Type | Name and description |
---|---|
net.ttddyy.dsproxy.listener.logging.SLF4JLogLevel |
logLevel SLF4j log level to be used for slowQueryLogger. |
String |
name The name of slow query logger as it will be seen in the log. |
Duration |
threshold Duration that represents a threshold after which query is interpreted as slow query. |
Constructor and description |
---|
DataSourceProxyConfigurationProperties.SlowQueryLogger() |
SLF4j log level to be used for slowQueryLogger.
Default value isWARN
.
The name of slow query logger as it will be seen in the log.
Default value is'klokwrk.datasourceproxy.slowQueryLogger'
.
Duration that represents a threshold after which query is interpreted as slow query.
Default value is 1000 millis.Groovy Documentation