[Zope-dev] Where did __traceback_info__ go?

2003-12-21 Thread Bjorn Stabell
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

Bye,
-- 
Bjorn

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Where did __traceback_info__ go?

2003-12-21 Thread Santi Camps
 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!
 

You can add this to your standard_error_message:

dtml-if error_tb
  dtml-var error_tb
/dtml-if


-- 
Santi Camps
http://zetadb.sourceforge.net


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Where did __traceback_info__ go?

2003-12-21 Thread Dieter Maurer
Bjorn Stabell wrote at 2003-12-21 23:49 +0800:
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!

They are not in http://yourZope/error_log?

-- 
Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


RE: [Zope-dev] Where did __traceback_info__ go?

2003-12-21 Thread Bjorn Stabell
Dieter:
 Bjorn Stabell wrote at 2003-12-21 23:49 +0800:
 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!
 
 They are not in http://yourZope/error_log?

No, the error, UnicodeError, doesn't even show up in error_log or on
STDOUT.  It does show up in events.log and on the error page, if I add
error_tb to the standard_error_message.

Nowhere, however, does the __traceback_info__ information show up.

Regards,
-- 
Bjorn

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )