logging = logging.getLogger(__name__)
genkuro
genkuro at gmail.com
Tue Jun 15 11:35:05 EDT 2010
Newbie here. I may be missing something obvious, in which case,
please feel free to berate and laugh at me.
Here's a dubious line of code:
logging = logging.getLogger(__name__)
How can I refer to the original logging package "logging" after this
statement is run? Specifically, I'm trying to add a log handler with
logging.addHandler(x) and it is of course failing.
Thanks,
Brian
More information about the Python-list
mailing list