Dieter Maurer <[EMAIL PROTECTED]> wrote:
[about getObject logging missing objects]
> >Yes, logging should be there. I'll add a LOG at level WARNING somewhere,
> >I'm not sure where (after all it's unrestrictedTraverse that does the
> When something in the catalog tells you, there were an object
> and the object is not locatable, then this is an ERROR
> and not a WARNING -- because, you met a data inconsistency.
> Data inconsistencies are serious enough to be classified as "ERROR".
Let's not go into too much semantics here. Note that WARNING is an alias
of PROBLEM. zLOG defines these levels as:
PROBLEM=100 -- This isn't causing any immediate problems, but deserves
ERROR=200 -- This is going to have adverse effects.
And indeed the missing object isn't causing immediate problems.
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests