[ZODB-Dev] help with logging

John Belmonte john at neggie.net
Sun Mar 13 21:24:17 EST 2005


Tim Peters wrote:
> ZEO/cache.py gets a logger object like so:
> 
>     logger = logging.getLogger("zeo.cache")
> 
> Offhand, that looks the same to me as what all other code does, so I don't
> have a guess for why zeo.cache messages aren't getting logged.
> 
> Hmm.  By eyeball, the others use "ZEO." (all uppercase) at the start of the
> string passed to getLogger.  Maybe that's it?  But I don't see anything in
> runzeo.py's logging setup that could possibly key off that.

My guess is that the log setting in the ZEO config file only affects the 
ZEO server context, while ZEO clients are left without a default handler.

-John


More information about the ZODB-Dev mailing list