Simple logging example doesn't work!

2010-10-18 Thread robinsieb...@gmail.com
Here is an example straight out of the help, and for some reason, it is not working. I get the error messages in the log, but I do not get the info messages in the console. import datetime, logging def main(): timestamp = datetime.datetime.now().strftime("%Y%m%d-%I%M%S") #set up logging

Re: Simple logging example doesn't work!

2010-10-18 Thread robinsieb...@gmail.com
If I set logging.basicConfig() call to logging.INFO, then I see info messages in the logfile. I only want to see error messages in the logfile. -- http://mail.python.org/mailman/listinfo/python-list