Skip to content

Commit

Permalink
new defaults for pgbadger
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Dec 16, 2024
1 parent 35f1152 commit e89fae3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions roles/system_task/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ system_task_postgres_user: postgres
system_task_postgres_quiet: false
system_task_postgres_vacuum_options: --all --analyze {{ ' --quiet' if system_task_postgres_quiet else '' }}

system_task_pgbadger_query_log: /var/log/postgresql/postgresql-{{ postgresql_version | default('16') }}-main.log
system_task_pgbadger_query_log: ''
# system_task_pgbadger_query_log: /var/log/postgresql/postgresql-{{ postgresql_version | default('16') }}-main.log
system_task_pgbadger_query_outdir: '{{ postgresql_pgbadger_output_dir }}'
system_task_pgbadger_query_options: -v -I -o index.html
# system_task_pgbadger_query_options: -v -I -o index.html
system_task_pgbadger_query_options: -v -I -f syslog --prefix 'user=%u,db=%d,client=%h,app=%a ' --journalctl 'journalctl -t postgres' -o index.html

system_task_goaccess_index_file: index.html
system_task_goaccess_output_dir: /var/www/goaccess
Expand Down

0 comments on commit e89fae3

Please sign in to comment.