From 78f8aa728a385615eb2e26d1519b9ce56a83a11c Mon Sep 17 00:00:00 2001 From: Nenad Vitorovic Date: Tue, 15 Aug 2023 14:46:26 +0200 Subject: [PATCH] Make logrus log to Stdout --- commands/root.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/root.go b/commands/root.go index 46f3049..6fa460d 100644 --- a/commands/root.go +++ b/commands/root.go @@ -79,6 +79,8 @@ func initConfig() { func initLog() { Colorizer = aurora.NewAurora(false) logrus.SetFormatter(&logrus.JSONFormatter{}) + logrus.SetOutput(os.Stdout) + if debugMode { logrus.SetLevel(logrus.DebugLevel) logrus.SetReportCaller(true)