Skip to content

Commit 8f4c557

Browse files
committed
Config postgres on Linux to log just errors.
1 parent 9ec2376 commit 8f4c557

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform-rhel9/postgresql.conf

+3-3
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ log_truncate_on_rotation = on # If on, an existing log file with the
474474

475475
# - When to Log -
476476

477-
#log_min_messages = warning # values in order of decreasing detail:
477+
log_min_messages = error # values in order of decreasing detail:
478478
# debug5
479479
# debug4
480480
# debug3
@@ -488,7 +488,7 @@ log_truncate_on_rotation = on # If on, an existing log file with the
488488
# fatal
489489
# panic
490490

491-
#log_min_error_statement = error # values in order of decreasing detail:
491+
log_min_error_statement = error # values in order of decreasing detail:
492492
# debug5
493493
# debug4
494494
# debug3
@@ -572,7 +572,7 @@ log_line_prefix = '%m [%p] ' # special values:
572572
#log_parameter_max_length_on_error = 0 # when logging an error, limit logged
573573
# bind-parameter values to N bytes;
574574
# -1 means print in full, 0 disables
575-
#log_statement = 'none' # none, ddl, mod, all
575+
log_statement = 'none' # none, ddl, mod, all
576576
#log_replication_commands = off
577577
#log_temp_files = -1 # log temporary files equal or larger
578578
# than the specified size in kilobytes;

0 commit comments

Comments
 (0)