diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c9c2554..7ce51fe 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,16 @@ Changelog for readability ========================== +0.1.17 (Jan 22nd 2014) +---------------------- + +- More log quieting down to INFO vs WARN + +0.1.16 (Jan 22nd 2014) +---------------------- + +- Clean up logging output at warning when it's not a true warning + 0.1.15 (Nov 29th 2013) ----------------------- diff --git a/breadability/readable.py b/breadability/readable.py index e6ed4b4..9827ff3 100644 --- a/breadability/readable.py +++ b/breadability/readable.py @@ -412,7 +412,7 @@ class Article(object): def _readable(self): """The readable parsed article""" if not self.candidates: - logger.warning("No candidates found in document.") + logger.info("No candidates found in document.") return self._handle_no_candidates() # right now we return the highest scoring candidate content @@ -432,7 +432,7 @@ class Article(object): dom = build_base_document( updated_winner.node, self._return_fragment) else: - logger.warning( + logger.info( 'Had candidates but failed to find a cleaned winning DOM.') dom = self._handle_no_candidates() @@ -456,7 +456,7 @@ class Article(object): return self._remove_orphans( dom.get_element_by_id("readabilityBody")) else: - logger.warning("No document to use.") + logger.info("No document to use.") return build_error_document(self._return_fragment) diff --git a/setup.py b/setup.py index ed7305f..7428e69 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import sys from os.path import abspath, dirname, join from setuptools import setup, find_packages -VERSION = "0.1.15" +VERSION = "0.1.17" VERSION_SUFFIX = "%d.%d" % sys.version_info[:2] CURRENT_DIRECTORY = abspath(dirname(__file__))