Moved fatfs stuff over to the logging module