Reduce maximum diagnostic log file size before rotation to 5 Mbyte

This commit is contained in:
Bill Somerville 2021-02-14 13:19:41 +00:00
parent f31a4efbee
commit ca6280a6df
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ WSJTXLogging::WSJTXLogging ()
( (
sinks::file::make_collector sinks::file::make_collector
( (
keywords::max_size = 40 * 1024 * 1024 keywords::max_size = 5 * 1024 * 1024
, keywords::min_free_space = 1024 * 1024 * 1024 , keywords::min_free_space = 1024 * 1024 * 1024
, keywords::max_files = 12 , keywords::max_files = 12
, keywords::target = app_data.absoluteFilePath ("logs").toStdWString () , keywords::target = app_data.absoluteFilePath ("logs").toStdWString ()

View File

@ -7,7 +7,7 @@ TargetFileName="${AppLocalDataLocation}/logs/wsjtx_syslog_%Y-%m.log"
RotationTimePoint="01 00:00:00" RotationTimePoint="01 00:00:00"
Append=true Append=true
EnableFinalRotation=false EnableFinalRotation=false
MaxSize=41943040 MaxSize=52428800
MinFreeSpace=1073741824 MinFreeSpace=1073741824
MaxFiles=12 MaxFiles=12
Target="${AppLocalDataLocation}/logs" Target="${AppLocalDataLocation}/logs"