Skip to content

Commit

Permalink
Turn off trace logging
Browse files Browse the repository at this point in the history
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
  • Loading branch information
edwarnicke committed Nov 25, 2020
1 parent 0d7fb00 commit 65a3b0a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion internal/tests/suite_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])

// ********************************************************************************
Expand Down

0 comments on commit 65a3b0a

Please sign in to comment.