Thanks. But I have tried using the full path and it did not work.
-Senthil On Wednesday, October 21, 2015 at 1:37:46 PM UTC-5, JT wrote: > > I would provide a pull path to the filename parameter. The current > directory is not usually what you think in WSGI environments. > On Oct 19, 2015 11:49 PM, "Senthil R" <[email protected] <javascript:>> > wrote: > >> I am on a shared hosting environment ( dreamhost ). >> >> dreamhost uses passenger as the WSGI server. >> >> Using the following lines to log results does not work ( I've tried to >> log from passenger_wsgi.py and a 'controller' class) >> >> import logging >> >> logging.basicConfig(filename='log.txt', level=logging.DEBUG) >> logging.debug('Testing logging...') >> >> >> does anyone know how to log from web.py in a shared hosting environment ? >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "web.py" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] <javascript:> >> . >> Visit this group at http://groups.google.com/group/webpy. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/d/optout.
