> I noticed Karl added apache_log_error, how would I use that in an ErrorScript
> in order to pass the entire interpreter error string to the apache log
> (basically pass what rivet normally spits to the screen)? (Basically, can
> I substitute some internal variable to the message argument of
> apache_log_error?)
>
> (There appears to be a dearth of documentation surrounding Rivet...)
Looks like it's used like so:
apache_log_error loglevel message
So in order to catch an error message and spit it out elsewhere, you
can use the same variables that are in the default error handler:
proc handle_error {} {
global errorInfo
global errorOutbuf
puts <PRE>
puts "<HR>$errorInfo<HR>"
puts "<P><B>OUTPUT BUFFER:</B></P>"
puts $errorOutbuf
puts </PRE>
}
Does that work?
--
David N. Welton
http://www.welton.it/davidw/
http://www.dedasys.com/
Sent from Padua, Veneto, Italy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]