Skip to content

Commit

Permalink
Revert "add logrotate config for pgbouncer and filebeat input #921 (#…
Browse files Browse the repository at this point in the history
…1823)" (#1852)

This reverts commit 58652e2.
  • Loading branch information
to-bar authored Nov 13, 2020
1 parent 58652e2 commit ec68756
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,6 @@ filebeat.inputs:
{{ k }}: {{ v }}
{% endfor %}
{% endif %}
- type: log
enabled: true
paths:
- /var/log/pgbouncer/*.log*
exclude_files: [".gz$"]
{% if specification.pgbouncer_input.multiline is defined -%}
multiline:
{% for k, v in specification.pgbouncer_input.multiline.items() %}
{{ k }}: {{ v }}
{% endfor %}
{% endif %}
{% endif %}

{% if 'kubernetes_master' in group_names or 'kubernetes_node' in group_names %}
Expand Down
13 changes: 0 additions & 13 deletions core/src/epicli/data/common/defaults/configuration/postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,3 @@ specification:
# to have multiple unique filenames per day when dateext option is set
dateformat -%Y%m%dH%H
}
/var/log/pgbouncer/pgbouncer.log {
missingok
notifempty
sharedscripts
copytruncate
size 10M
daily
create 0640 pgbouncer pgbouncer
nodateext
postrotate
/bin/kill -HUP cat /run/pgbouncer/pgbouncer.pid 2>/dev/null 2> /dev/null || true
endscript
}

0 comments on commit ec68756

Please sign in to comment.