Hello,

it seems that the "if LOGGING:" block of fcgihandler.py is out of
date.  can we update it to:

if LOGGING:
    application = gluon.main.appfactory(wsgiapp=gluon.main.wsgibase,
               logfilename='httpserver.log',
               profilerfilename=None)

i'd also like to figure out the best place to add:
    LOG_FILENAME = 'web2pylog.log'
    logging.basicConfig(filename=LOG_FILENAME,level=logging.INFO,
                        format="%(asctime)s - %(name)s - %(levelname)s
- %(filename)s  %(funcName)s %(lineno)d - %(message)s")

in order to get python logging messages when debugging in fcgi.  I
found that if i put it in gluon/main.py logging works, but i don't
think this is the right place for it.  thoughts?

thanks!

Christian

Reply via email to