[Zope-Coders] Progress logging for long running ZCatalog operations

Andreas Jung lists at andreas-jung.com
Fri Jul 16 02:04:59 EDT 2004


Hi,

I have implemented an extension for the ZCatalog where you can enable 
additional logging
for progress information if you recatalog a whole catalog or just an index. 
This is very helpful
if you perform such an operation on a catalog with several hundred 
thousands objects which usually takes
hours.  Under the Advanced tab there is a new input field where you can set 
a number to tell the catalog
perform a logging operation every N objects. By default all logging goes to 
zLOG. For reindexing operation
triggered through a script it is possible to pass other handlers to the 
indexing methods (e.g.  a handler
that logs to stdout).

Any objections to merge this stuff into the trunk ?

Andreas


More information about the Zope-Coders mailing list