[Zope-dev] Where did __traceback_info__ go?

Chris McDonough chrism at plope.com
Sun Dec 21 10:35:13 EST 2003


On Sun, 2003-12-21 at 10:49, Bjorn Stabell wrote:
> I upgraded to 2.7b3, and it looks quite solid!
> 
> I have one problem, though: I can't find the "full tracebacks" that
> include __traceback_info__ anywhere!
> 
> I used to start up Zope in debug mode, so I'd get everything sent to
> stdout.  Now, stdout just contains some startup stuff; doesn't even
> contain simple tracebacks.  The event log contains tracebacks, but it
> doesn't contain __traceback_info__.  I'm not sure if it contains the
> __traceback_supplement__ stuff?
> 
> 
> On a related note, perhaps it would be more clear what got sent to
> stdout if stdout was just another log handler, and so it could be
> configured the same way other logs are configured, e.g.,
> 
> 	<logger event>
> 		<stdout>
> 			level INFO
> 		</stdout>
> 		<stderr>
> 			level WARN
> 		</stderr>
> 	</logger>

Hi Bjorn,

I'm not certain about the __traceback_info__ stuff, but sending the
error log to stdout can be done now via:

<logger event>
   level all
   <logfile>
      path STDOUT
      level info
   </logfile>
</logger>

HTH,

- C





More information about the Zope-Dev mailing list