forked from github/multus-cni
Add support for log rotation
When using debug level the log files tends to fill up quickly. Add support for log rotation using lumberjack, simple and easy to use log rotation module. Signed-off-by: Shahar Klein <sklein@nvidia.com>
This commit is contained in:
committed by
Tomofumi Hayashi
parent
3882e405ef
commit
ecb79330c0
1
go.mod
1
go.mod
@@ -18,6 +18,7 @@ require (
|
||||
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b
|
||||
google.golang.org/grpc v1.23.0
|
||||
gopkg.in/yaml.v2 v2.2.8 // indirect
|
||||
gopkg.in/natefinch/lumberjack.v2 v2.0.0
|
||||
k8s.io/api v0.0.0-20181115043458-b799cb063522
|
||||
k8s.io/apimachinery v0.0.0-20181110190943-2a7c93004028
|
||||
k8s.io/client-go v0.0.0-20181115111358-9bea17718df8
|
||||
|
Reference in New Issue
Block a user