fix(logs): fix issue where all logs were kept archived

Part of #3610
This commit is contained in:
Jonathan Rainville 2023-05-08 14:32:06 -04:00
parent 47d971a3dd
commit 8e1d7cac05
2 changed files with 6 additions and 1 deletions

View File

@ -318,6 +318,11 @@ var NODE_CONFIG* = %* {
"IPFSDir": "./ipfs",
"LogEnabled": true,
"LogFile": "geth.log",
# Set Max number of log files kept to 1
# Setting it to 0 creates a problem where all log files are kepts
# Docs: https://pkg.go.dev/gopkg.in/natefinch/lumberjack.v2@v2.0.0#readme-cleaning-up-old-log-files
"LogMaxBackups": 1,
"LogMaxSize": 100, # MB
"LogLevel": $LogLevel.INFO,
"MailserversConfig": {
"Enabled": true

2
vendor/status-go vendored

@ -1 +1 @@
Subproject commit 189c7a691961ddb9ec649fde8982305f002d8af9
Subproject commit bba7135fb7f33ed6fd1de66cc8d1273acbce2bb1