Skip to content

Duplicate log entries when running as daemon #398

@jpmens

Description

@jpmens

Reported by Christoph. This is due to us using openlog(LOG_PERROR) which writes the message to standard error output as well to the system log; systemd's journal will pick both up.

We could change this behavior by verifying whether we have a console (isatty(3)) and if not, then removing the flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions