Fix bug where the log levels are referenced against the wrong object.