Question: I need to instrument a series of .wsf and .vbs files with debug statements; before I go off and roll my own, does something like log4j exist for WSF/VBScript?

Answer: 
Since my main program is a [Windows Scripting File](http://msdn.microsoft.com/en-us/library/15x4407c.aspx) (.wsf) script, I can include and use code from other scripting languages.

I found the [Log4js: JavaScript logging framework](http://log4js.berlios.de/index.html), modeled after Log4j, which works very nicely for me. I had to add my own Appender for logging to `stderr` and `stdout`, but that was much easier than creating my own logging framework from scratch.

**UPDATE: 2/13/2009:**

The [Log4js: JavaScript logging framework](http://log4js.berlios.de/index.html) I first tried turned out to be a bit of a resource hog. I found another JavaScript Log4js implementation at <http://log4js.sourceforge.net/> that is much more stable and efficient.
I suspect you may be able to use [Log4net](http://logging.apache.org/log4net/) via COM. This is .net version of log4J and I highly recommend it as a logging framework. There is some info [here](http://www.nabble.com/COM-and-VisualBasic-6.0-and-log4net-to769573.html)