tcl-rivet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David N. Welton)
Subject Re: Error logging
Date Sat, 18 Jan 2003 02:12:52 GMT
Damon Courtney <> writes:

> > >     I was thinking it might be really cool to create a second
> > > channel implementation and redirect 'stderr' to Apache's error
> > > log.  Anyone have an opinion on this?

> > Stdout already goes there, IIRC.

>     How can stdout go there if it already goes to the webpage? 0-]

Uh... me stupid - I mean stderr, of course:-)

> > >     I also have some new code for garbage cleanup.  It cleans up
> > > hanging file pointers, socket and Itcl objects after the page
> > > has executed.  It's turned on by default but can be turned off
> > > using configuration directives.

> > What's it look like?  Sounds useful!  Especially the file and
> > socket cleanups.

>     It's pretty clean. 0-] It's about 4 lines of code.  The Itcl
> stuff is in a catch statement incase Itcl isn't installed, but it's
> also extremely useful.

I would go for the Itcl thing being a seperate thing, or maybe off by

But... couldn't this stuff all just go in to begin and end page chunks
that are installed by default?

David N. Welton
Free Software:
   Apache Tcl:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message