Re: [Zope-CMF] [dev] RFC: logging/reporting framework for GenericSetup

2005-11-16 Thread Chris Withers
Jens Vagelpohl wrote: There could be a multiplexer that logs to the standard Zope event log *and* keeps the messages in a memory buffer to be displayed in the browser. This could be done in a separate class or a logging API could be added to ISetupContext. Should be easy to do, really.

[Zope-CMF] [dev] RFC: logging/reporting framework for GenericSetup

2005-11-15 Thread yuppie
Hi! GenericSetup is quite silent. The return values of the setup handlers and import context notes are ignored. The only feedback is a small manage_tabs_message. Goals: Setup handlers should give detailed feedback. Each note should include a logging level and a setup handler ID. The

Re: [Zope-CMF] [dev] RFC: logging/reporting framework for GenericSetup

2005-11-15 Thread Jens Vagelpohl
On 15 Nov 2005, at 14:24, yuppie wrote: The notes should be logged *and* used for reporting in the ZMI. Implementation: I'm no logging expert, so I might well be missing something. The state of the art seems to be using the Python logging package (PEP 282). Is it possible to use that