Logging system wasn't working