Skip to content

Better documentation how to set up pgBadger with Journald #819

Open

Description

@frlan

Even though --journalctl existsts, it seems to be not enough. It would be nice to have a more step-by-step howto inside documentation to use pgBadger with a journald-logging PostgreSQL.

Activity

  1. MattBlissett commented on Apr 9, 2025

    @MattBlissett

    I think the log format is detected incorrectly. Try specifying it manually with --format=syslog2.

    /usr/bin/pgbadger --verbose --incremental --journalctl 'journalctl -u [email protected]' --format=syslog2 -O /var/www/html/pg1/
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions