Fixing log level printing.