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

Use 'journalctl` for getting logs #98

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Use 'journalctl` for getting logs #98

wants to merge 1 commit into from

Commits on Feb 4, 2021

  1. Use 'journalctl` for getting logs

    This removes the CGO deps and makes for a completely static Go binary.
    The downside is that is fork/execs a binary to get to the logs. It
    supports the same options as the current impl. A thing that's different
    is the time/date output which doesn't match up.
    
    No real intentation to get this merged (current binary runs on RH8 which
    I care about atm), but also don't want to loose the code as there were
    some tricky bits about tailing the logs and not creating zombie
    journalctls.
    
    See #84
    
    Signed-off-by: Miek Gieben <[email protected]>
    miekg committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    d1d8f69 View commit details
    Browse the repository at this point in the history