Skip to content

Commit

Permalink
enable db api logs - staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed May 16, 2024
1 parent 191af79 commit b79c961
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions images/db/config/postgresql.staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ min_wal_size = 80MB

# - When to Log -

#log_min_messages = warning # values in order of decreasing detail:
log_min_messages = debug1 # values in order of decreasing detail:
# debug5
# debug4
# debug3
Expand Down Expand Up @@ -502,7 +502,7 @@ min_wal_size = 80MB
# fatal
# panic (effectively off)

#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
log_min_duration_statement = '1000' # log queries that take longer than 1000ms (1 second)
# and their durations, > 0 logs only
# statements running at least this number
# of milliseconds
Expand Down Expand Up @@ -534,9 +534,9 @@ min_wal_size = 80MB
# actions running at least this number
# of milliseconds.
#log_checkpoints = off
#log_connections = off
#log_disconnections = off
#log_duration = off
log_connections = on
log_disconnections = on
log_duration = on
#log_error_verbosity = default # terse, default, or verbose messages
#log_hostname = off
#log_line_prefix = '%m [%p] ' # special values:
Expand Down Expand Up @@ -674,7 +674,7 @@ log_timezone = 'Etc/UTC'
#default_transaction_read_only = off
#default_transaction_deferrable = off
#session_replication_role = 'origin'
#statement_timeout = 0 # in milliseconds, 0 is disabled
statement_timeout = 600 # in milliseconds, 0 is disabled
#lock_timeout = 0 # in milliseconds, 0 is disabled
#idle_in_transaction_session_timeout = 0 # in milliseconds, 0 is disabled
#idle_session_timeout = 0 # in milliseconds, 0 is disabled
Expand Down

0 comments on commit b79c961

Please sign in to comment.