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 | 18 | log_rotation_age = 1d # Automatic rotation of logfiles will |
| 19 | 19 | log_rotation_size = 0 # Automatic rotation of logfiles will |
| 20 | 20 | log_timezone = 'UTC' |
| 21 | +log_destination = 'syslog' # Send logs to syslog server | |
| 21 | 22 | datestyle = 'iso, mdy' |
| 22 | 23 | timezone = 'UTC' |
| 23 | 24 | lc_messages = 'en_US.UTF-8' # locale for system error message | ... | ... |