At Monday 11/12/2006 22:32, johnny wrote:
def setupLogging():
global log
log = logging.getLogger("ftp")
Also, there is no need to use a global here. The logging machinery
will return always the same logger given the same name. So
logging.getLogger("ftp") will be always the same.
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
--
http://mail.python.org/mailman/listinfo/python-list