From 092cdff0613c3a9a1c39ec87bc44e7cf59e6a1ed Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Wed, 17 Apr 2013 16:23:50 -0400 Subject: [PATCH] puppet: Log Postgres checkpoint information (imported from commit 41603ad1c3cf8419d315b44d5679e0817062ced0) --- .../modules/humbug/files/postgresql/postgresql.conf.master | 1 + .../puppet/modules/humbug/files/postgresql/postgresql.conf.slave | 1 + 2 files changed, 2 insertions(+) diff --git a/servers/puppet/modules/humbug/files/postgresql/postgresql.conf.master b/servers/puppet/modules/humbug/files/postgresql/postgresql.conf.master index a76b9c30a9..c537fa844f 100644 --- a/servers/puppet/modules/humbug/files/postgresql/postgresql.conf.master +++ b/servers/puppet/modules/humbug/files/postgresql/postgresql.conf.master @@ -580,6 +580,7 @@ log_rotation_age = 7d log_rotation_size = 100MB log_min_duration_statement = 500 log_line_prefix = '%m [%c]: [%l-1] ' +log_checkpoints = on log_lock_waits = on log_temp_files = 0 log_autovacuum_min_duration = 100 diff --git a/servers/puppet/modules/humbug/files/postgresql/postgresql.conf.slave b/servers/puppet/modules/humbug/files/postgresql/postgresql.conf.slave index 53e70cea72..94232b671a 100644 --- a/servers/puppet/modules/humbug/files/postgresql/postgresql.conf.slave +++ b/servers/puppet/modules/humbug/files/postgresql/postgresql.conf.slave @@ -576,6 +576,7 @@ log_rotation_age = 7d log_rotation_size = 100MB log_min_duration_statement = 500 log_line_prefix = '%m [%c]: [%l-1] ' +log_checkpoints = on log_lock_waits = on log_temp_files = 0 log_autovacuum_min_duration = 100