Re: Passing a log handle to a module? Help needed with logging module and
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Passing a log handle to a module? Help needed with logging module and

From: Michael Hoffman <cam.ac.uk@mh391.invalid>
Date: Sun Jul 31 2005 - 13:55:15 CEST

rh0dium wrote:

> But I can't figure out how to pass the d$!@# logging handle to the
> called module -

I'm sorry, but what have you tried? It seems like it should be a simple
matter of calling module.main(log).

> much less change the getLogger name to "module".

Why do you want to do this?

-- 
Michael Hoffman
Received on Thu Sep 29 17:17:22 2005