Commit 31314bf0927b002ea04164223e4da907317f00c5
1 parent
b833985e
Exists in
syslog
Configuring postgresql to send log to syslog server
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
cookbooks/postgresql/templates/centos/postgresql.conf.erb
@@ -18,6 +18,7 @@ log_truncate_on_rotation = on # If on, an existing log file | @@ -18,6 +18,7 @@ log_truncate_on_rotation = on # If on, an existing log file | ||
18 | log_rotation_age = 1d # Automatic rotation of logfiles will | 18 | log_rotation_age = 1d # Automatic rotation of logfiles will |
19 | log_rotation_size = 0 # Automatic rotation of logfiles will | 19 | log_rotation_size = 0 # Automatic rotation of logfiles will |
20 | log_timezone = 'UTC' | 20 | log_timezone = 'UTC' |
21 | +log_destination = 'syslog' # Send logs to syslog server | ||
21 | datestyle = 'iso, mdy' | 22 | datestyle = 'iso, mdy' |
22 | timezone = 'UTC' | 23 | timezone = 'UTC' |
23 | lc_messages = 'en_US.UTF-8' # locale for system error message | 24 | lc_messages = 'en_US.UTF-8' # locale for system error message |