Skip to content

How to read journal from a user defined unit #169

Description

@aaronwmorris

It is not clear to me how to read journal entries for user defined units. Adding the journal.CURRENT_USER flag does not work in this case. I believe there may be a difference between journal entries for a user and journal entries for user defined units.

I am looking for the equivalent to this command:

journalctl --user-unit foobar.service

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions