Changed how the logging status code works.