Fixed the Logger