It writes most recent log to log.txt, that's OK. However when month changes it moves current log.txt to log{CurrentYear}{CurrentMonth}.txt filename, which is incorrect.
Let's say my log.txt was accumulating during February 2023. When March 1 comes, it should rename log.txt to log202302.txt, but currently it renames it to log202303.txt.
I have following configuration:
It writes most recent log to
log.txt
, that's OK. However when month changes it moves currentlog.txt
tolog{CurrentYear}{CurrentMonth}.txt
filename, which is incorrect. Let's say mylog.txt
was accumulating during February 2023. When March 1 comes, it should renamelog.txt
tolog202302.txt
, but currently it renames it tolog202303.txt
.Would be really grateful if you can fix this bug.