From 449b7724422e942f506e8e9993825263e06b781e Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Mon, 30 Aug 2021 11:05:11 +0200 Subject: [PATCH] re-enable journalhook need a cmdline switch for this, it's on the TODO :) --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 10fc1c7..ad64fb4 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ import ( "github.com/Morganamilo/go-srcinfo" _ "github.com/mattn/go-sqlite3" log "github.com/sirupsen/logrus" + "github.com/wercker/journalhook" "gopkg.in/yaml.v2" "html/template" "os" @@ -599,7 +600,7 @@ func main() { lvl, err := log.ParseLevel(conf.Logging.Level) check(err) log.SetLevel(lvl) - // journalhook.Enable() + journalhook.Enable() err = syscall.Setpriority(syscall.PRIO_PROCESS, 0, 5) if err != nil {