From 4f2bd8542021a43a67108b7f61df7b315dd10aa9 Mon Sep 17 00:00:00 2001 From: Francisco Souza Date: Wed, 21 Feb 2018 11:41:08 -0500 Subject: [PATCH] Add SERVICE_NAME to log tags --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e16e2b71..df3b538c 100644 --- a/main.go +++ b/main.go @@ -25,7 +25,7 @@ func main() { } server.Init("video-transcoding-api", cfg.Server) server.Log.Hooks.Add(logrus_stack.StandardHook()) - server.Log.Hooks.Add(logrus_env.NewHook([]string{"ENVIRONMENT"})) + server.Log.Hooks.Add(logrus_env.NewHook([]string{"ENVIRONMENT", "SERVICE_NAME"})) gcpLoggingHook, err := sdhook.New( sdhook.GoogleLoggingAgent(),