notes/pgbdager.md

4 lines
169 B
Markdown
Raw Normal View History

2020-02-07 01:00:17 -05:00
creates a file `out.html` by default
sudo pgbadger --prefix '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h,remote=%r ' //var/log/postgresql/postgresql-2020-02*