diff --git a/libraries/AP_Logger/AP_Logger.cpp b/libraries/AP_Logger/AP_Logger.cpp index aa19981e0f..33618c49e3 100644 --- a/libraries/AP_Logger/AP_Logger.cpp +++ b/libraries/AP_Logger/AP_Logger.cpp @@ -1566,7 +1566,10 @@ void AP_Logger::prepare_at_arming_sys_file_logging() */ static const char *log_content_filenames[] = { "@SYS/uarts.txt", +#ifdef HAL_DEBUG_BUILD + // logging dma.txt has a performance impact "@SYS/dma.txt", +#endif "@SYS/memory.txt", "@SYS/threads.txt", "@SYS/timers.txt",