# Critical Prearm : Logging failed

**URL:** <https://discuss.cubepilot.org/t/critical-prearm-logging-failed/4159>\
**Category:** Cube Autopilot\
**Created:** [24 July 2020 10:04 UTC](https://discuss.cubepilot.org/t/critical-prearm-logging-failed/4159 "2020-07-24T10:04:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julien](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/julien/32/1262_2.png) [@Julien](https://discuss.cubepilot.org/u/Julien)\
**Post date:** [24 July 2020 10:04 UTC](https://discuss.cubepilot.org/t/critical-prearm-logging-failed/4159/1 "2020-07-24T10:04:00Z")

</div>

Hello guys,

A customer reported me a repetitive error he has : Critical : PreArm : Logging failed  
I know this error is mainly related to the SD card, so we changed it. After inserting a newer in the Cube everything was working well.  
Unfortunately few weeks later this error shows again and again, and we are actually flying with the third SD Card.  
Could this be related to the hardware (bad Cube) that can damage SD cards after several uses ? Could it be related to the usage of this drone (exclusively used in auto mapping mission) ?  
Any other suggestion ?

Best regards,  
Julien

 ![IMG_5773](https://discuss.cubepilot.org/uploads/default/original/2X/4/42111653beb4db0cc7f58269bab6dd5941587582.jpeg)

---

<div class="post-metadata">

**Author:** ![Mallikarjun\_SE](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/mallikarjun_se/32/7496_2.png) [@Mallikarjun\_SE](https://discuss.cubepilot.org/u/Mallikarjun_SE)\
**Post date:** [24 July 2020 18:52 UTC](https://discuss.cubepilot.org/t/critical-prearm-logging-failed/4159/2 "2020-07-24T18:52:16Z")

</div>

Is it by any chance 32GB or higher capacity card? I had issues with 32GB cards.

---

<div class="post-metadata">

**Author:** ![Julien](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/julien/32/1262_2.png) [@Julien](https://discuss.cubepilot.org/u/Julien)\
**Post date:** [24 July 2020 19:47 UTC](https://discuss.cubepilot.org/t/critical-prearm-logging-failed/4159/3 "2020-07-24T19:47:48Z")

</div>

The original 8 Gb has been replaced by a 16 Gb, and the 16 Gb has been replaced by a 32 Gb (no 16 Gb or 8Gb available in the local shops)

---

<div class="post-metadata">

**Author:** ![Mallikarjun\_SE](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/mallikarjun_se/32/7496_2.png) [@Mallikarjun\_SE](https://discuss.cubepilot.org/u/Mallikarjun_SE)\
**Post date:** [26 July 2020 05:44 UTC](https://discuss.cubepilot.org/t/critical-prearm-logging-failed/4159/4 "2020-07-26T05:44:08Z")

</div>

I have had issues with all my 32GB cards. Once I had junk writes full of 32GB. 😅  
16GB cards work for me flawlessly.

---

<div class="post-metadata">

**Author:** ![Julien](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/julien/32/1262_2.png) [@Julien](https://discuss.cubepilot.org/u/Julien)\
**Post date:** [29 July 2020 10:03 UTC](https://discuss.cubepilot.org/t/critical-prearm-logging-failed/4159/5 "2020-07-29T10:03:59Z")

</div>

Ok so for those how could get the same trouble i finally found the solution after trying several SD…  
The issue was simply coming from a parameter : LOG\_BACKEND\_TYPE.  
This parameter was on 3 and after changing it back to 1 everything works fine.

I think it has been changed by the customer without intention of changing it. Probably by an accidental tap on one of the Herelink menu.
