# HG changeset patch # User Thierry Florac # Date 1532031416 -7200 # Node ID 901845e10a3770a1915a91869c1ee323a57fabfd # Parent 0734dda7bc82dd1e42ff2855263ad8bd440408d8 Updated logging diff -r 0734dda7bc82 -r 901845e10a37 src/pyams_portal/portlet.py --- a/src/pyams_portal/portlet.py Thu Jul 19 16:45:53 2018 +0200 +++ b/src/pyams_portal/portlet.py Thu Jul 19 22:16:56 2018 +0200 @@ -230,12 +230,12 @@ # load rendered content from cache, or create output and store it in cache try: result = portlets_cache.get_value(cache_key) - logger.debug("Retrieving portlet content for cache key {0}".format(cache_key)) + logger.debug("Retrieving portlet content from cache key {0}".format(cache_key)) except KeyError: self.update() result = super(PortletRenderer, self).render() portlets_cache.set_value(cache_key, result) - logger.debug("Storing portlet content for cache key {0}".format(cache_key)) + logger.debug("Storing portlet content to cache key {0}".format(cache_key)) return result