Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse don't work #827

Closed
eric-maletras opened this issue Jun 13, 2024 · 2 comments
Closed

Parse don't work #827

eric-maletras opened this issue Jun 13, 2024 · 2 comments

Comments

@eric-maletras
Copy link

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

@darold
Copy link
Owner

darold commented Jun 13, 2024

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

@eric-maletras
Copy link
Author

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 !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants