Logging doesn't start every time after ARMing

Hi, we have encountered a logging problem in recent test flights. We have prepared our drone for flight. Before Arm and start, everything looks fine. We made 3 test flights (which means arm and disarm) on 1 power cycle. After these tests, we replaced the battery. And then armed aut drone again.

Then we wanted to get logs from SD card. And we found that SD card contains only the log file of the last Arm.

During whole testing, parameters weren’t changed.

Logging related parameter:

SDLOG_BOOT_BAT, 0
SDLOG_DIRS_MAX, 0
SDLOG_MISSION, 0
SDLOG_MODE, 0
SDLOG_PROFILE, 3
SDLOG_UTC_OFFSET, 0
SDLOG_UUID, 1

Is this behaviour known?

Shouldn’t there be a check that logging is on?