]>
Commit | Line | Data |
---|---|---|
d0bc90e0 P |
1 | {{ postgres_log_dir|default('/var/log/postgresql') }}/*.log |
2 | { | |
3 | daily | |
4 | rotate 60 | |
5 | copytruncate | |
6 | delaycompress | |
7 | compress | |
8 | notifempty | |
9 | missingok | |
10 | su root root | |
11 | {% if postgres_pgbadger_server is defined and postgres_pgbadger_server %} | |
12 | lastaction | |
13 | /root/scripts/pgBadger.sh | |
14 | endscript | |
15 | {% endif -%} | |
16 | } |