How can I use the logging module in Python to write to a file? Every time I try to use it, it just prints out the message.
http://docs.python.org/library/logging.html#logging.basicConfig
logging.basicConfig(filename='/path/to/your/log', level=....)