Log compile errors to log