internal/debug: add --log.rotate to the logging category (#28190)

This commit is contained in:
Felix Lange 2023-09-25 16:02:44 +02:00 committed by GitHub
parent 1fa3362ea7
commit c3742a9ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -87,8 +87,9 @@ var (
Category: flags.LoggingCategory, Category: flags.LoggingCategory,
} }
logRotateFlag = &cli.BoolFlag{ logRotateFlag = &cli.BoolFlag{
Name: "log.rotate", Name: "log.rotate",
Usage: "Enables log file rotation", Usage: "Enables log file rotation",
Category: flags.LoggingCategory,
} }
logMaxSizeMBsFlag = &cli.IntFlag{ logMaxSizeMBsFlag = &cli.IntFlag{
Name: "log.maxsize", Name: "log.maxsize",