Fixing logging statement.