changed the warnings of the logger in the kernel as they can happen before the system is properly initialized