Updated logging
authorThierry Florac <tflorac@ulthar.net>
Thu, 19 Jul 2018 22:16:56 +0200
changeset 155 901845e10a37
parent 154 0734dda7bc82
child 156 c56e1675014b
Updated logging
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