I made that code into a program like this:
### BEGIN
import logging
def configure_logging():
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s
%(name)-12s %(levelname)8s %(message)s',
datefmt='%Y-%m-%d\t%H:%M:%s',
filename='/tmp/log
Hi,
I would like to enable loggin in my script using the logging module that comes
with Python 2.7.3.
I have the following few lines setting up logging in my script, but for
whatever reason I don't seem to get any output to stdout or to a file
provided to the basicConfig method.
Any ideas?