[ZODB-Dev] Shush ClientStorage

Chris Withers chris at simplistix.co.uk
Tue Oct 25 08:03:01 EDT 2005


Tim Peters wrote:
>>ZEO's got rather noisy in Zope 2.8 :-S
> 
> Offhand I didn't find any message logged at INFO level by ClientStorage.py
> in ZODB 3.4 (Zope 2.8) that wasn't also logged at INFO level by
> ClientStorage.py in ZODB 3.2 (Zope 2.7).  What specifically do you find
> noisier under 2.8 than under 2.7?  

I'll paste at the end of the message... I can't see anything in there 
that's anything other than debug information: ie: you don't care about 
it unless something is apparently wrong, in which case you can tweak 
your log levels to dig deeper...

> Could it be, perhaps, that you're running
> Zope 2.8 with a logging level lower than what you used with Zope 2.7?  

I'm pretty sure it's the same, that's why I'm suprised...

> That
> is, if you didn't see ClientStorage INFO messages in Zope 2.7 that you do
> see under Zope 2.8, the cause is not in ClientStorage.py.

Sorry, couldn't parse that :-S

> Not yet, please.  Please be specific about which messages you're trying to
> push to a lower level.  Changing _all_ ClientStorage INFO messages to DEBUG
> level (which is what your patch does) would also change ClientStorage
> logging behavior relative to Zope 2.7.  

How so?

cheers,

Chris

PS: Here's the spew:

2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) ClientStorage (pid=13661)
created RW/normal for storage: 'main'
2005-10-25 12:56:25 INFO ZEO.cache created temporary cache file '<fdopen>'
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Testing connection
<ManagedClientConnection ('127.0.0.1', 7002)>
2005-10-25 12:56:25 INFO ZEO.zrpc.Connection(C) (127.0.0.1:7002) received
handshake 'Z303'
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Server authentication
protocol None
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Connected to storage:
('localhost.localdomain', 7002)
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Verifying cache
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Waiting for cache
verification to finish
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Waiting for cache
verification to finish
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) endVerify finishing
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) endVerify finished
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) ClientStorage (pid=13661)
created RW/normal for storage: 'temp'
2005-10-25 12:56:25 INFO ZEO.cache created temporary cache file '<fdopen>'
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Testing connection
<ManagedClientConnection ('127.0.0.1', 7002)>
2005-10-25 12:56:25 INFO ZEO.zrpc.Connection(C) (127.0.0.1:7002) received
handshake 'Z303'
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Server authentication
protocol None
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Connected to storage:
('localhost.localdomain', 7002)
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Verifying cache
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Waiting for cache
verification to finish
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) Waiting for cache
verification to finish
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) endVerify finishing
2005-10-25 12:56:25 INFO ZEO.ClientStorage (13661) endVerify finished
-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZODB-Dev mailing list