All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.config.druid-filters.properties.old Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
# Uses slf4j as the log system.
datasource.druid.filter.slf4j.enabled=true
datasource.druid.filter.slf4j.data-source-log-enabled=true
datasource.druid.filter.slf4j.connection-log-enabled=false
datasource.druid.filter.slf4j.connection-log-error-enabled=true
datasource.druid.filter.slf4j.statement-log-enabled=true
datasource.druid.filter.slf4j.statement-log-error-enabled=true
datasource.druid.filter.slf4j.statement-sql-pretty-format=false
datasource.druid.filter.slf4j.statement-parameter-set-log-enabled=false
datasource.druid.filter.slf4j.statement-prepare-after-log-enabled=false
datasource.druid.filter.slf4j.statement-close-after-log-enabled=false
datasource.druid.filter.slf4j.statement-executable-sql-log-enable=true
datasource.druid.filter.slf4j.result-set-log-enabled=false
datasource.druid.filter.slf4j.result-set-log-error-enabled=true

# Enable data statistics.
datasource.druid.filter.stat.enabled=true
# SQL that executes more than 300ms is considered slow SQL and is recorded in the slow SQL log.
datasource.druid.filter.stat.slow-sql-millis=300
datasource.druid.filter.stat.log-slow-sql=true
# After SQL is parameterized, it is merged.
datasource.druid.filter.stat.merge-sql=true
# Enable SQL wall.
datasource.druid.filter.wall.enabled=true
# Record a log of violations.
datasource.druid.filter.wall.log-violation=true
# To avoid affecting the business, the intercepted SQL does not enable exception throwing temporarily.
datasource.druid.filter.wall.throw-exception=false
# Intercept SQL that does not provide a WHERE condition.
datasource.druid.filter.wall.config.delete-where-none-check=true
# Configure the maximum number of returned rows. If the select statement does not specify the maximum number of returned rows, the select will be automatically modified to add the return limit.
# There are currently bugs in Druid, wait until repaired before letting go.
# https://github.com/alibaba/druid/issues/2649
# datasource.druid.filter.wall.config.selectLimit=200




© 2015 - 2024 Weber Informatics LLC | Privacy Policy