darold / pgbadger

A fast PostgreSQL Log Analyzer
http://pgbadger.darold.net/
PostgreSQL License
3.49k stars 349 forks source link

Can pgbadger generate report in 2 formats in a single run? #746

Closed purefan closed 2 years ago

purefan commented 2 years ago

hi!

I tried with --extension html --extension json but it only produces a single report (in json), am I missing something obvious?

darold commented 2 years ago

Hi,

No it cannot generate several reports format at the same time. If you don't want to parse the log file twice you must proceed as follow: