diff --git a/wsjtx_log_config.ini b/wsjtx_log_config.ini index b90f6cd10..f4e8ed339 100644 --- a/wsjtx_log_config.ini +++ b/wsjtx_log_config.ini @@ -16,7 +16,7 @@ Destination="TextFile" # If Asynchronous true then thread dedicated to writing to log, otherwise blocks main thread to write. Asynchronous="true" # If AutoFlush is true then non-buffered output -AutoFlush="true" +AutoFlush="false" # Line Formats available: TimeStamp, Uptime, Severity, LineID (counter), ProcessID, ThreadID, Line, File, Function # TimeStamp and Uptime support boost date time format: # http://www.boost.org/doc/libs/1_60_0/doc/html/date_time/date_time_io.html#date_time.format_flags @@ -25,21 +25,21 @@ Format="[%TimeStamp(format=\"%Y-%m-%d %H:%M:%S.%f\")%][%Uptime(format=\"%O:%M:%S Target="${AppLocalDataLocation}/old_logs" # FileName pattern to use. %N is a counter for files. FileName="${AppLocalDataLocation}/wsjtx_syslog.log" -TargetFileName="wsjtx_syslog_%5N.log" +TargetFileName="${AppLocalDataLocation}/old_logs/wsjtx_syslog_%Y-%m-%d_%H-%M-%S.%N.log" # RotationSize in bytes, File size, in bytes, upon which file rotation will be performed. # Time based rotation also available via RotationInterval and RotationTimePoint see boost log docs. RotationSize="1048576" # If Append is true then do not start a new log file for each session -Append="false" +Append="true" # EnableFinalRotation will rotate on close, make this false if using Append true -EnableFinalRotation="true" +EnableFinalRotation="false" # Matching used so that only files matching FileName pattern are deleted. ScanForFiles="Matching" # MaxSize - Total size of files in the target directory in bytes upon which the oldest file will be deleted. #MaxSize=100485760 # MinFreeSpace - Minimum free space in the Target directory in bytes. Above this value oldest file is deleted. #MinFreeSpace=1485760 -#MaxFiles="10" +MaxFiles="10" # Specify level of log, options are: trace, debug, info, warning, error, fatal # Since Channel not part of filter all log output will be included. # If only SYSLOG logging desired, change to: Filter="%Severity% >= trace & %Channel% matches \"SYSLOG\"" @@ -88,4 +88,4 @@ AutoFlush="true" # http://www.boost.org/doc/libs/1_60_0/doc/html/date_time/date_time_io.html#date_time.format_flags Format="[%TimeStamp(format=\"%Y-%m-%d %H:%M:%S.%f\")%][%Uptime(format=\"%O:%M:%S.%f\")%][%Severity%] - %Message%" # Specify level of log, options are: trace, debug, info, warning, error, fatal -Filter="%Severity% >= warning" +Filter="%Severity% >= trace"