mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
dev.sh: additional postgres container logging, to support pgBadger
GitOrigin-RevId: dabd4099269121d4c1cb967017861e94201727c8
This commit is contained in:
parent
3c3ed55914
commit
d4d5c53468
@ -282,10 +282,20 @@ fi
|
||||
# setting 'port' in container is a workaround for the pg_dump endpoint (see tests)
|
||||
# log_hostname=off to avoid timeout failures when running offline due to:
|
||||
# https://forums.aws.amazon.com/thread.jspa?threadID=291285
|
||||
#
|
||||
# All lines up to log_error_verbosity are to support pgBadger:
|
||||
# https://github.com/darold/pgbadger#LOG-STATEMENTS
|
||||
#
|
||||
# Also useful:
|
||||
# log_autovacuum_min_duration=0
|
||||
CONF=$(cat <<-EOF
|
||||
log_statement=all
|
||||
log_min_duration_statement=0
|
||||
log_checkpoints=on
|
||||
log_connections=on
|
||||
log_disconnections=on
|
||||
log_lock_waits=on
|
||||
log_temp_files=0
|
||||
log_error_verbosity=default
|
||||
log_hostname=off
|
||||
log_duration=on
|
||||
port=$PG_PORT
|
||||
|
Loading…
Reference in New Issue
Block a user