InterviewSolution
| 1. |
Why Do I Get The Log Messages Twice? |
|
Answer» This is NORMAL. The TurboGears application server, Cherrypy 2.x, runs two processes when in development mode and it’s set to autoreload. Each PROCESS outputs logging messages and that is why they appear twice. This does not happen in production mode and also doesn’t happen in NEWER (i.e. CP3) CherryPy versions (which TurboGears does not use yet), which INVOLVED a REWRITE of the reloading mechanism. This is normal. The TurboGears application server, Cherrypy 2.x, runs two processes when in development mode and it’s set to autoreload. Each process outputs logging messages and that is why they appear twice. This does not happen in production mode and also doesn’t happen in newer (i.e. CP3) CherryPy versions (which TurboGears does not use yet), which involved a rewrite of the reloading mechanism. |
|