Hi,

I would like a web2py script to create a log file, but when run via
the "python web2py.py ..." command line, the log file (in this case
logging.log) is not being created.  Is this a permissions issue with
file creation?

Here is what I what I am doing:

#in cron/log.py
import logging
logging.basicConfig(filename='logging.log',level=logging.INFO)
logging.info('test')

#command used to run the above file
python web2py.py -M -N -S test -R applications/test/cron/log.py &

Thanks.

Avik Basu

Reply via email to