This is an automated email from the ASF dual-hosted git repository.
littlecui pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git
The following commit(s) were added to refs/heads/dev by this push:
new ab888f04 [feat] support the size of log up to 500M (#1460)
ab888f04 is described below
commit ab888f04a05962b9d94b00b808e38279db733503
Author: tornado-ssy <[email protected]>
AuthorDate: Mon Mar 18 22:11:25 2024 +0800
[feat] support the size of log up to 500M (#1460)
Co-authored-by: songshiyuan 00649746 <[email protected]>
---
server/config/config.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/config/config.go b/server/config/config.go
index 01fb12f5..b500022c 100644
--- a/server/config/config.go
+++ b/server/config/config.go
@@ -135,7 +135,7 @@ func loadServerConfig() ServerConfig {
}
maxLogFileSize := GetInt64("log.rotateSize", 20,
WithStandby("log_rotate_size"))
- if maxLogFileSize <= 0 || maxLogFileSize > 50 {
+ if maxLogFileSize <= 0 || maxLogFileSize > 500 {
maxLogFileSize = 20
}
maxLogBackupCount := GetInt64("log.backupCount", 50,
WithStandby("log_backup_count"))