darold / pgbadger

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

Parse don't work #827

Closed eric-maletras closed 1 month ago

eric-maletras commented 1 month ago

Even I put the form of prefix line, the file is empty

darold commented 1 month ago

Well, if you can provide the pgbadger command line you are using and some lines of your log we could help.

eric-maletras commented 1 month ago

Sorry for the inconvenient. The issue form that i'm french and seems taht as the 'lc_messages is "fr_FR", pg_bader can't parse the file. I have modify 2 lines in conf files: log_line_prefix = '%t [%p]: ' lc_messages = 'C' With line : pgbadger -v -p '%t [%p]: ' /var/log/postgresql/postgresql-15-main.log And its work !!