This commit is contained in:
icey-yu
2024-07-04 19:58:41 +08:00
committed by GitHub
parent f231ea1f21
commit cc2f993eab
5 changed files with 31 additions and 26 deletions
+4 -1
View File
@@ -136,8 +136,11 @@ func (r *RootCmd) initializeLogger(cmdOpts *CmdOpts) error {
r.log.IsStdout,
r.log.IsJson,
r.log.StorageLocation,
r.log.RemainRotationCount,
r.log.RotationTime,
r.log.MaxBackups,
r.log.MaxSize,
r.log.MaxAge,
r.log.Compress,
config.Version,
)
if err != nil {