[Zope] running 2.7 w/out daemon manager

Jamie Heilman jamie at audible.transient.net
Thu Feb 12 18:45:33 EST 2004


Chris McDonough wrote:
> On Thu, 2004-02-12 at 18:16, Jamie Heilman wrote:
> > > This is already built-in to 2.7.  No hacking required.
> > 
> > Well.. keywords being: simple, reliable (wrt to log order)
> > The built-in logger is neither.
> 
> I don't know what the Python logger module promises about log order, but
> it does use thread locks to serialize record emits, so I'm not sure how
> wrong it could actually get.

I observed out of order logs in 2.6.2 ... so it could be the python
logging stuff actually fixed this, I haven't done extensive testing.
So I shouldn't have said the built-in logger is neither, I should have
said it *was* neither, mea culpa.  From what I remember the one place
in Zope I could get it to happen fairly reliably was the shutdown
function in the control panel, though I don't remember the details
anymore of how it actually all worked, I figured it out once just out
of curriosity.
 
-- 
Jamie Heilman                     http://audible.transient.net/~jamie/
"...thats the metaphorical equivalent of flopping your wedding tackle
 into a lion's mouth and flicking his lovespuds with a wet towel, pure
 insanity..."                                           -Rimmer



More information about the Zope mailing list