>On Oct 18, 10:45 pm, "robinsieb...@gmail.com"
>wrote:
>> If I setlogging.basicConfig() call tologging.INFO, then I see info
>> messages in the logfile. I only want to see error messages in the
>> logfile.
I am not sure how good the documentation is (having not gone back
to look at it) but I had
On Oct 18, 10:45 pm, "robinsieb...@gmail.com"
wrote:
> If I setlogging.basicConfig() call tologging.INFO, then I see info
> messages in the logfile. I only want to see error messages in the
> logfile.
What you need to do is,
1. Set the root logger's level to INFO. That's because you want at
leas
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
On Mon, 18 Oct 2010 11:52:36 -0700, robinsieb...@gmail.com wrote:
> 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.
>
Hello,
I don't see this code in the help; nevert
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