Re: [Zope-dev] Logging changes in ZEO break zeoup.py

2005-12-10 Thread Jens Vagelpohl
On 8 Dec 2005, at 22:57, Tim Peters wrote: Can anyone advise me how to make this work under Zope 2.8.4? I expect zeoup.py needs to be changed. I did a similar thing for runzeo.py some time ago, and I bet the latter's setup_default_logging() method could be mostly reused. Just checked in a

[Zope-dev] Logging changes in ZEO break zeoup.py

2005-12-08 Thread Jens Vagelpohl
Hi all, In Zope 2.7 I'm using zeoup.py to check on a ZEO server. This script can be run from anywhere as long as the PYTHONPATH is set correctly. For Zope 2.8.4, the ZEO logging has been switched to use the logging module. This leads to an error when running zeoup.py now: CRITICAL -

Re: [Zope-dev] Logging changes in ZEO break zeoup.py

2005-12-08 Thread Tim Peters
[Jens Vagelpohl] In Zope 2.7 I'm using zeoup.py to check on a ZEO server. This script can be run from anywhere as long as the PYTHONPATH is set correctly. For Zope 2.8.4, the ZEO logging has been switched to use the logging module. This leads to an error when running zeoup.py now:

Re: [Zope-dev] Logging changes in ZEO break zeoup.py

2005-12-08 Thread Jens Vagelpohl
On 8 Dec 2005, at 22:57, Tim Peters wrote: To get unstuck quickly, try adding just this: import logging logging.basicConfig() That always helps me in a pinch, but I never understood why (neither why logging insists that you call _something_ before it will stop annoying you, nor why