mirror of
https://github.com/indig0fox/Arma3-AttendanceTracker.git/
synced 2025-12-08 01:41:49 -06:00
update log rotation & fix fn_log.sqf include
This commit is contained in:
@@ -51,8 +51,8 @@ func InitLoggers(o *LoggerOptionsType) {
|
||||
// create a new lumberjack file logger (adds log rotation and compression)
|
||||
ll = &lumberjack.Logger{
|
||||
Filename: ActiveOptions.Path,
|
||||
MaxSize: 1,
|
||||
MaxBackups: 5,
|
||||
MaxSize: 5,
|
||||
MaxBackups: 10,
|
||||
MaxAge: 14,
|
||||
Compress: true,
|
||||
LocalTime: true,
|
||||
@@ -118,7 +118,7 @@ func InitLoggers(o *LoggerOptionsType) {
|
||||
FormatTimestamp: armaLogFormatTimestamp,
|
||||
FormatLevel: armaLogFormatLevel,
|
||||
},
|
||||
)).With().Timestamp().Caller().Logger()
|
||||
)).With().Timestamp().Logger()
|
||||
|
||||
if ActiveOptions.Debug {
|
||||
Log = Log.Level(zerolog.DebugLevel)
|
||||
|
||||
BIN
releases/attendancetracker-0.2.0.20231003-f2ad1b.zip
Normal file
BIN
releases/attendancetracker-0.2.0.20231003-f2ad1b.zip
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user