From 8f859cc7b5d3e06dcfee06952a773554638eeccc Mon Sep 17 00:00:00 2001 From: Nathan Bosscher Date: Tue, 3 Nov 2020 11:40:02 -0500 Subject: [PATCH] move logging to stderr so it'll show in linux logs --- integrations/github/githubcd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/github/githubcd/main.go b/integrations/github/githubcd/main.go index 60aba2b..dffa7c9 100644 --- a/integrations/github/githubcd/main.go +++ b/integrations/github/githubcd/main.go @@ -15,7 +15,7 @@ import ( ) var Verbose = false -var logger = log.New(os.Stdout, "gobase-githubcd: ", log.Ldate|log.Ltime) +var logger = log.New(os.Stderr, "gobase-githubcd: ", log.Ldate|log.Ltime) type Handler struct { secret string