postgresql / db-koji: Move instead to logging just the slow stuff.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-10-14 20:40:00 +00:00 committed by Pierre-Yves Chibon
parent b5f8425273
commit 603fe5e8e9

View file

@ -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