DF log is not create by Pixhawk cube

please suggest why Pixhawk cube is not creating log,
Auto mission df log file also not created

Code bug? Ardupilot or PX4?

Ardupilot

What code exactly? Vehicle? More details…

Ardupilot Quard Copter

What version?