Sometimes log messages are repeated / overlapped with cherrypy's logs.
-
When setting all loggers to “consoleLogger” a lot of log messages are repeated, e.g.:
…
2013-01-19 15:01:57,624 - system.cherrypy.ENGINE - INFO - Started monitor thread ‘Autoreloader’.
2013-01-19 15:01:57,624 - system.cherrypy.ENGINE - INFO - Started monitor thread ‘Autoreloader’.
2013-01-19 15:01:57,732 - system.cherrypy.ENGINE - INFO - Serving on 0.0.0.0:4282
2013-01-19 15:01:57,732 - system.cherrypy.ENGINE - INFO - Serving on 0.0.0.0:4282
2013-01-19 15:01:57,733 - system.cherrypy.ENGINE - INFO - Bus STARTED
2013-01-19 15:01:57,733 - system.cherrypy.ENGINE - INFO - Bus STARTED -
The cherrypy logger should be disabled in order to avoid interfering logs like:
127.0.0.1 - - [19/Jan/2013:15:04:46] “GET
/vispa/static/img/menuicon_disabled.png HTTP/1.1” 200 2915
“http://localhost:4282/vispa/” “Mozilla/5.0 (Macintosh; Intel Mac OS X
10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52
Safari/537.17”
2013-01-19 15:04:46,033 - access.cherrypy - INFO - 127.0.0.1 - -
[19/Jan/2013:15:04:46] “GET /vispa/static/img/menuicon_disabled.png
HTTP/1.1” 200 2915 “http://localhost:4282/vispa/” “Mozilla/5.0
(Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like
Gecko) Chrome/24.0.1312.52 Safari/537.17”
(from redmine: issue id 1272, created on 2013-01-19 by root, closed on 2013-01-28)