[app] turn these info into debug logs (this being too chatty for .info)
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 09 May 2012 16:23:21 +0200
changeset 8390 637b934bc742
parent 8389 94f26e3b09bf
child 8391 574cf17a9928
[app] turn these info into debug logs (this being too chatty for .info)
web/application.py
--- a/web/application.py	Wed Apr 18 12:01:31 2012 +0200
+++ b/web/application.py	Wed May 09 16:23:21 2012 +0200
@@ -424,8 +424,8 @@
         :return: the result of the pusblished url
         """
         # don't log form values they may contains sensitive information
-        self.info('publish "%s" (%s, form params: %s)',
-                  path, req.session.sessionid, req.form.keys())
+        self.debug('publish "%s" (%s, form params: %s)',
+                   path, req.session.sessionid, req.form.keys())
         # remove user callbacks on a new request (except for json controllers
         # to avoid callbacks being unregistered before they could be called)
         tstart = clock()
@@ -500,7 +500,7 @@
             # cache to avoid memory usage
             req.drop_entity_cache()
         self.add_undo_link_to_msg(req)
-        self.info('query %s executed in %s sec', req.relative_path(), clock() - tstart)
+        self.debug('query %s executed in %s sec', req.relative_path(), clock() - tstart)
         return result
 
     ### Error handler