Re: pgBadger: Cannot find any log entries from systemd-journald

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: pgBadger: Cannot find any log entries from systemd-journald
Date: 2024-03-06 15:40:32
Message-ID: CAKAnmm+6AfNMXXzC6Oc-i3kpKbNESjZ8muLX_a20V+w14+xmrQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Mar 5, 2024 at 3:14 AM Frank Lanitz <frank(at)frank(dot)uvena(dot)de> wrote:

> $ pgbadger --journalctl "journalctl -u postgresql.service"
>

You could try adding --verbose to see if it gives more clues.

> Having a look into the journal there is a lot of
>

None of the snippets from journald you showed were actually things pgbadger
cares about, FWIW. You can get an idea of what is actually parsed by
running "journalctl -u postgresql --output=short-iso"

log_error_verbosity = 'verbose'
>

This is probably not needed, and there is a finite chance that the extra
context is confusing pgbadger.

Cheers,
Greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2024-03-06 15:55:57 Re: Feature Request: log_line_prefix %h Counterpart
Previous Message Frank Lanitz 2024-03-06 10:39:29 Re: pgBadger: Cannot find any log entries from systemd-journald