Logging on the ground

Greetings. My arducopter used to start recording logs only after being armed, but recently I’ve noticed it’s recording since the moment it’s powered up. So if I have to wait for GPS for couple of minutes, it’ll log flatline.
Is there a setting to set when logging is starting ?

Yes, LOG_DISARMED is the parameter you need.

hmm… just checked, and LOG_DISARMED is 0.
Well, maybe FC had one too many crashes and is getting tired. (it also takes like 5 minutes to acquire enough GPS sats for geofence, and FPV video feed is oversaturated (and i’ve tried different cameras and transmitters, so it must be FC OSD circuitry).