From 65a3b0a40b1fb386b54b754e40f1dc5400f112b1 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Tue, 24 Nov 2020 20:25:39 -0600 Subject: [PATCH] Turn off trace logging Signed-off-by: Ed Warnicke --- go.mod | 2 +- go.sum | 2 ++ internal/tests/suite_setup_test.go | 2 +- main.go | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 9f147c1c..ada5cfe8 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/golang/protobuf v1.4.3 github.com/kelseyhightower/envconfig v1.4.0 github.com/networkservicemesh/api v0.0.0-20201117093615-ae6039374f31 - github.com/networkservicemesh/sdk v0.0.0-20201124084633-dae025c5ac5b + github.com/networkservicemesh/sdk v0.0.0-20201125022524-de6798d3aa74 github.com/networkservicemesh/sdk-vpp v0.0.0-20201124085149-fa1460b0f3ae github.com/pkg/errors v0.9.1 github.com/sirupsen/logrus v1.7.0 diff --git a/go.sum b/go.sum index bafa139f..d0de3794 100644 --- a/go.sum +++ b/go.sum @@ -315,6 +315,8 @@ github.com/networkservicemesh/api v0.0.0-20201117093615-ae6039374f31 h1:z5a+28GC github.com/networkservicemesh/api v0.0.0-20201117093615-ae6039374f31/go.mod h1:qvxdY1Zt4QTtiG+uH1XmjpegeHjlt5Jj4A8iK55iJPI= github.com/networkservicemesh/sdk v0.0.0-20201124084633-dae025c5ac5b h1:oKLS+W7HvWqUyeH8b4gnZXCWHrbgHfNcH3cbuRrnEUw= github.com/networkservicemesh/sdk v0.0.0-20201124084633-dae025c5ac5b/go.mod h1:/31b39yg0LIs7ZoyVSNjKIMyolXOdYp7KruZeqtUbhg= +github.com/networkservicemesh/sdk v0.0.0-20201125022524-de6798d3aa74 h1:PDpfzxoUr5z0YZtkfLR27LBQ+E+xHTTsTNwM+VTT2V4= +github.com/networkservicemesh/sdk v0.0.0-20201125022524-de6798d3aa74/go.mod h1:/31b39yg0LIs7ZoyVSNjKIMyolXOdYp7KruZeqtUbhg= github.com/networkservicemesh/sdk-vpp v0.0.0-20201124085149-fa1460b0f3ae h1:xkBWzoiThprNfOfqJSSwzN25XMA0tkiydNq4hygJFt4= github.com/networkservicemesh/sdk-vpp v0.0.0-20201124085149-fa1460b0f3ae/go.mod h1:E9pikhJ0vbQ9iLVQTLSIgwu3UTMPfexRnUVJWawJ0lY= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= diff --git a/internal/tests/suite_setup_test.go b/internal/tests/suite_setup_test.go index ec744577..7932805d 100644 --- a/internal/tests/suite_setup_test.go +++ b/internal/tests/suite_setup_test.go @@ -52,7 +52,7 @@ import ( func (f *ForwarderTestSuite) SetupSuite() { logrus.SetFormatter(&nested.Formatter{}) - logrus.SetLevel(logrus.TraceLevel) + // logrus.SetLevel(logrus.TraceLevel) f.ctx, f.cancel = context.WithCancel(context.Background()) starttime := time.Now() diff --git a/main.go b/main.go index 0bec265f..78cf5ee9 100644 --- a/main.go +++ b/main.go @@ -70,7 +70,7 @@ func main() { // setup logging // ******************************************************************************** logrus.SetFormatter(&nested.Formatter{}) - logrus.SetLevel(logrus.TraceLevel) + // logrus.SetLevel(logrus.TraceLevel) ctx = log.WithField(ctx, "cmd", os.Args[0]) // ********************************************************************************