PreArm: logging not available

I have an APM 2.8 and it refuse to arm.

Error:
PreArm: logging not available

Suggestions?