Skip to content

Commit

Permalink
Log to stderr by turning off the log file collector
Browse files Browse the repository at this point in the history
Fixes ManageIQ/container-postgresql#40

Drop the no longer used options for logging to a file.

Related: CrunchyData/postgres-operator#1141 (comment)
  • Loading branch information
jrafanie committed Jun 2, 2023
1 parent e939852 commit 9eaf5da
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ hot_standby = on
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------
log_filename = 'postgresql.log'
log_rotation_age = 0
log_destination = 'stderr'
# This is used when logging to stderr:
logging_collector = off
log_min_duration_statement = 5000
log_connections = on
log_disconnections = on
Expand Down

0 comments on commit 9eaf5da

Please sign in to comment.