diff --git a/core/logx/config.go b/core/logx/config.go index 2b00f276..a86e4d74 100644 --- a/core/logx/config.go +++ b/core/logx/config.go @@ -32,7 +32,7 @@ type LogConf struct { StackCooldownMillis int `json:",default=100"` // MaxBackups represents how many backup log files will be kept. 0 means all files will be kept forever. // Only take effect when RotationRuleType is `size`. - // Even thougth `MaxBackups` sets 0, log files will still be removed + // Even though `MaxBackups` sets 0, log files will still be removed // if the `KeepDays` limitation is reached. MaxBackups int `json:",default=0"` // MaxSize represents how much space the writing log file takes up. 0 means no limit. The unit is `MB`.