This code doesn't seem to do what I think it should do:

# python 2.3.2
# not sure of my win32 extensions version

import logging
from logging.handlers import NTEventLogHandler
logger = logging.getLogger("testlogger")
handler = NTEventLogHandler("testlogger")
logger.addHandler(handler)
logger.info("This is a test")


I expected to see an `information' message in my `Application' event
log.  Any ideas?

Thanks,
jw
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to