mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
postgresql / db-koji: Move instead to logging just the slow stuff.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
b5f8425273
commit
603fe5e8e9
@@ -320,7 +320,7 @@ log_rotation_size = 10000 # Automatic rotation of logfiles will
|
||||
# fatal
|
||||
# panic (effectively off)
|
||||
|
||||
#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
|
||||
log_min_duration_statement = 10000 # -1 is disabled, 0 logs all statements
|
||||
# and their durations, > 0 logs only
|
||||
# statements running at least this time.
|
||||
|
||||
@@ -358,7 +358,7 @@ log_checkpoints = on
|
||||
# %% = '%'
|
||||
# e.g. '<%u%%%d> '
|
||||
log_lock_waits = on # log lock waits >= deadlock_timeout
|
||||
log_statement = 'all' # none, ddl, mod, all
|
||||
#log_statement = 'all' # none, ddl, mod, all
|
||||
log_temp_files = 0 # log temporary files equal or larger
|
||||
# than specified size;
|
||||
# -1 disables, 0 logs all temp files
|
||||
|
||||
Reference in New Issue
Block a user