diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index d319d4fe..ee892df9 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -311,7 +311,7 @@ func run(cfg config.Config) { continue } - err = netLogger.SendLogs(ns) + err = netLogger.Send(ns) if err != nil { log.Log(logger.Warning, pkg+"Logs could not be sent", "error", err.Error()) } diff --git a/go.mod b/go.mod index 632c0ebb..f9a618a0 100644 --- a/go.mod +++ b/go.mod @@ -12,4 +12,5 @@ require ( github.com/pkg/errors v0.8.1 github.com/yobert/alsa v0.0.0-20180630182551-d38d89fa843e gocv.io/x/gocv v0.21.0 + gopkg.in/natefinch/lumberjack.v2 v2.0.0 )