Not recording ulog file in OFFBOARD mode

When I fly the drone in OFFBOARD mode, flight data is not recorded in SD card of Pixhawk 4. I use PX4 Autopilot ver 1.15. How to fix this issue?

Is there no ulog file at all? Or are you looking for specific flight data?

Pixhawk recorded ulog when drone fly in manual mode or stabilize mode, but there is no ulog in OFFBOARD mode

That’s odd. It usually always records a ulog when armed. Was it armed?