[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/Transience/TransientObject.py Merge from 2.7 branch:

Chris McDonough chrism at plope.com
Thu May 20 16:56:53 EDT 2004


On Thu, 2004-05-20 at 06:10, Chris Withers wrote:
> Chris McDonough wrote:
> 
> > Cuz I don't want to.
> 
> In all seriousness, why not?

- Currently the debug logging code has side effects, so I only want
  to run it if a flag is set.  In anticipation of your next
  question of why the debug code has side effects..  
  Because doing things like getting the keys of a BTree (which is
  required for debugging purposes) can cause conflict errors.
  It's not an option to log all debug output unconditionally for
  this reason.

- The 2.7 branch still uses zLOG and having two separate
  implementations of the module (one which uses the logging module,
  the other which doesnt) is a headache when I need to go
  do a merge.  Given the current CVS/SVN split it's particularly a
  problem because I can't do an automerge and fix the conflicts.

- Currently it's not possible to filter by subsystem when writing
  out a log, so I'd need to use grep or something to filter just
  the TOC debug output.  I don't much want to bother. This
  should probably be fixed.

- C




More information about the Zope-Checkins mailing list