[Zope-dev] zLOG deprecation?

2005-12-05 Thread Chris Withers
Hi All, Is zLOG deprecated? If not, it should be... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-de

[Zope-dev] Ignoring Warnings

2005-12-05 Thread Chris Withers
Great, so rather than fix the warnings, we add code to ignore them... *sigh* Chris Stefan H. Holek wrote: Update of /cvs-repository/Zope In directory cvs.zope.org:/tmp/cvs-serv6383 Modified Files: Tag: Zope-2_7-branch test.py Log Message: Implemented a --nowarnings flag for test.py.

Re: [Zope-dev] Logging of ConflictError

2005-12-05 Thread Chris Withers
Florent Guillaume wrote: If you look at the way their purpose is explained in zLOG, you'll see that level INFO is reserved for things like server startup and shutdown. You must be one of the few humans who's ever read that documentation ;-) recurring that can happen many times in the lif

Re: [Zope-dev] Logging of ConflictError

2005-12-05 Thread Chris Withers
Dennis Allison wrote: Dieter's point about not includeing the traceback makes sense if all it does is report on the reporting code. Yeah, the traceback just shows where the ConflictError was raised, not what caused it, and theyr'e always in very different places... Wlorent, do you envision

Re: [Zope-dev] AcceleratedHTTPCache and virtual hosting (collector 1447)

2005-12-05 Thread Chris Withers
Dieter Maurer wrote: We could use monkey patching for this -- used only for testing purposes. Yup, I've had extensive success with this too, for example, to get consistent dates during date-based tests. I'm also -1 on havign functionality in production code that's there purely to support un

Re: [Zope-dev] Please vote about conflict errors logging

2005-12-05 Thread Chris Withers
Jean-Marc Orliaguet wrote: In my case it's mostly filesystem-based resources (css files, or images) accessed in read mode (zope-2.8.4). But the information no matter where it comes from has very little value compared to other messages in the log file, because these are completely predictable.

[Zope-dev] Zope tests: 7 OK, 1 Failed

2005-12-05 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Sun Dec 4 12:01:01 2005 UTC to Mon Dec 5 12:01:01 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Test failures - Subject: FAILED : Zope-trunk Python-2.4.2 : Linux From: Zope Unit Tests Date: Sun Dec 4 23:01:25 EST 2005 U

Re: [Zope-dev] Time for a beta!

2005-12-05 Thread Andreas Jung
--On 4. Dezember 2005 20:55:48 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: --On 4. Dezember 2005 14:36:17 -0500 Jim Fulton <[EMAIL PROTECTED]> wrote: Zope 3 seems to ve ready for a beta release. Does that mean Zope 2 is ready? Zope 2 should be ready. However there seems to be an u

[Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Philipp von Weitershausen
Chris Withers wrote: > Is zLOG deprecated? > > If not, it should be... +10 zLOG/__init__.py says: Note: This module exists only for backward compatibility. Any new code for Zope 2.8 and newer should use the logging module from Python's standard library directly. zLOG is only an

[Zope-dev] Zope 2.9 b1 coming

2005-12-05 Thread Andreas Jung
Just to let you know: Zope 2.9 b1 will be released together with Zope 3.2 b1 this Wednesday..so the last changes and fixes should be done until Wednesday morning. Thanks, Andreas pgpnUD4IB53W0.pgp Description: PGP signature ___ Zope-Dev maillist - Zo

Re: [Zope-dev] Zope 2.9 b1 coming

2005-12-05 Thread Jim Fulton
Andreas Jung wrote: Just to let you know: Zope 2.9 b1 will be released together with Zope 3.2 b1 this Wednesday..so the last changes and fixes should be done until Wednesday morning. I'm going to try to get a 3.2 beta out today. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Pyth

Re: [Zope-dev] Zope 2.9 b1 coming

2005-12-05 Thread Andreas Jung
--On 5. Dezember 2005 16:10:11 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote: Just to let you know: Zope 2.9 b1 will be released together with Zope 3.2 b1 this Wednesday..so the last changes and fixes should be done until Wednesday morning. We will release 2.9 earlier. Jim is going to rele

[Zope-dev] ObjectManager.hasObject

2005-12-05 Thread Florent Guillaume
I've added a long needed hasObject method to ObjectManager. Note that BTreeFolder2 has had it for a long time and it's quite useful. Enjoy. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]

[Zope-dev] Re: toplevel products folder in zope svn ?

2005-12-05 Thread Philipp von Weitershausen
Rocky Burt wrote: > Anyone know if there is any plan to add a toplevel products folder in > the zope svn repo like there currently is in zope's cvs repo? I know > this has held up a few products from going from zope CVS to SVN. I don't think a separate Products folder is is necessary. Just make t

Re: [Zope-dev] Please vote about conflict errors logging

2005-12-05 Thread Andrew Sawyers
On Fri, 2005-12-02 at 23:00 +0100, Florent Guillaume wrote: > 1. Do you want these ConflictErrors retried logs to be at level: > - INFO INFO > - BLATHER > - DEBUG > - not logged > - other > > 2. In addition, please specify if you feel those retried > ConflictErrors should have their full traceba

[Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Chris Withers
Philipp von Weitershausen wrote: If not, it should be... +10 Yeah, me too! Hence why I was asking ;-) That means we could deprecate it even in Zope 2.9, using zLOG has already been discouraged in Zope 2.8. Cool, Andreas, can you make it start emitting deprecation warnings? (if you do, le

[Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Florent Guillaume
Chris Withers wrote: # In the days of zLOG, there were 7 standard log levels, and ZODB/ZEO used # all of them. Here's how they map to the logging package's 5 standard # levels: # #zLOG logging #---- #PANI

Re: [Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Dennis Allison
We probably want an "ALL" level as well which would map to the "NOTSET" of the Python logging code and log everything. Florent, I don't see a TRACE level in this list. Did you think one was needed? On Mon, 5 Dec 2005, Florent Guillaume wrote: > Chris Withers wrote: > >> # In the days of z

Re: [Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Tim Peters
[Dennis Allison] > We probably want an "ALL" level as well which would map to the "NOTSET" > of the Python logging code and log everything. Why not call it NOTSET? Then you already have it ;-) Or forget it -- TRACE gets everything anyway. > Florent, I don't see a TRACE level in this list. Did

Re: [Zope-dev] Please vote about conflict errors logging

2005-12-05 Thread Willi Langenberger
Florent Guillaume wrote at 2005-12-2 23:00 +0100: >Please vote for the level at which you want to log retried conflict >errors. These are the ConflictErrors that aren't returned to the user >but automatically retried by the Zope publisher. > >1. Do you want these ConflictErrors retried logs to

[Zope-dev] Re: AcceleratedHTTPCache and virtual hosting (collector 1447)

2005-12-05 Thread Paul Winkler
On Sat, Dec 03, 2005 at 11:29:48AM -0500, Tres Seaver wrote: > Paul Winkler wrote: (snip) > > ... AcceleratedHTTPCacheManager has no test > > suite at all. Erm. Actually it does; Tres added it on the TRUNK many months ago. I was looking at a 2.7 checkout! Mea culpa. However, the test suite curren

Re: [Zope-dev] Please vote about conflict errors logging

2005-12-05 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florent Guillaume wrote: > Please vote for the level at which you want to log retried conflict > errors. These are the ConflictErrors that aren't returned to the user > but automatically retried by the Zope publisher. > > 1. Do you want these Conflict

[Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Philipp von Weitershausen
Chris Withers wrote: > Philipp von Weitershausen wrote: > >>If not, it should be... > > > > +10 > > Yeah, me too! Hence why I was asking ;-) > > > That means we could deprecate it even in Zope 2.9, using zLOG has > > already been discouraged in Zope 2.8. > > Cool, Andreas, can you make it start emi

ConflictError's worthwhile to note? (was: Re: [Zope-dev] Please vote about conflict errors logging)

2005-12-05 Thread Dieter Maurer
Jean-Marc Orliaguet wrote at 2005-12-4 22:28 +0100: > ... >In the log flle I'd like to be informed about events that are >unexpected. Conflict errors of this kind occur "by design". This argument is not convincing: In a similar way, I could argue that "MemoryError"s are there by design. W

Re: [Zope-dev] Ignoring Warnings

2005-12-05 Thread Dieter Maurer
Chris Withers wrote at 2005-12-5 07:37 +: >Great, so rather than fix the warnings, we add code to ignore them... > Usage: ./bin/zopectl test --keepbytecode --nowarnings --dir Products/CMFPlone A colleague of mine will be very happy: The hundreds of (mostly stupid deprecation) warnings prev

[Zope-dev] version.txt [was: make sdist]

2005-12-05 Thread Philipp von Weitershausen
Andreas Jung wrote: > make sdist: > > [EMAIL PROTECTED]:~/sandboxes/Zope-2.9/2.9.0b1: make sdist > zpkg -C /develop/sandboxes/Zope-2.9/2.9.0b1/releases/Zope2.cfg > 'version.txt' doesn't match any files in > (in /develop/sandboxes/Zope-2.9/2.9.0b1/lib/python/zope/app/PACKAGE.cfg) > > temporary