Skip to content

Logging (ArduPilot)

The Logging setup page (Vehicle Config > Logging) is available for ArduPilot vehicles and allows you to configure how and what the flight controller logs.

Parameters

All parameters are optional — controls for parameters not supported by the connected firmware are hidden automatically.

Storage

ParameterDescription
LOG_BACKEND_TYPEWhich backends are active: SD card file, MAVLink stream, and/or onboard flash (bitmask).
LOG_BITMASKWhich data groups are included in the log (bitmask).
LOG_MAX_FILESMaximum number of log files retained before the oldest is rotated out.
LOG_FILE_MB_FREEMinimum free SD card space (MB) that must remain available before logging begins.

Rate Limits

ParameterDescription
LOG_FILE_RATEMAXMaximum file logging rate (Hz). Lower this if the SD card cannot keep up.
LOG_BLK_RATEMAXMaximum block (onboard flash) logging rate (Hz).
LOG_MAV_RATEMAXMaximum MAVLink log stream rate (Hz).

Options

ParameterDescription
LOG_DISARMEDEnable logging while the vehicle is disarmed (useful for pre-arm diagnostics).
LOG_FILE_DSRMROTRotate the log file after each disarm/rearm sequence.
LOG_REPLAYLog extra data needed for EKF replay analysis.
EK3_LOG_LEVELControls EKF3 logging verbosity (0 = full, 3 = disabled).