Log file failures

Hey guys, goodday whereever you are.
I have an intermittent problem with log files. When ever I log some topics, I see no error from the MAVLink console but when i try to recover the files from the SD card i am confronted with an input/output error. The log folder is formed but it is corrupted, meaning the file wasn’t actually stored on the SD card. Here is a screenshot of the log file status report:

I will be looking forward for your informative responses. Thank you.