baruwaproject / baruwa2

Baruwa 2.0
http://www.baruwa.org
GNU General Public License v3.0
21 stars 9 forks source link

Disable pgbounce connection logging to prevent /var/ from filling up #147

Closed rmoesbergen closed 5 years ago

rmoesbergen commented 5 years ago

I have a 'post install' script that disables pgbouncer logging because it fills up the /var partition with logging, when a lot of e-mail is processed. The logging itself is not particularly useful. Would it be possible to disable these 2 settings by default in pgbouncer.ini?

pgbouncer.ini:

; log if client connects or server connection is made log_connections = 0

; log if and why connection was closed log_disconnections = 0

akissa commented 5 years ago

Done. Queued for testing, will be in the next update.

rmoesbergen commented 5 years ago

Awesome, thanks!

rmoesbergen commented 5 years ago

works!