tcl-rivet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject Re: Error logging
Date Sat, 18 Jan 2003 02:12:52 GMT
Damon Courtney <damon@your.unreality.com> 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
default.

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

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Mime
View raw message