I just figured out that its possible to log from VBScript functions. This can be super helpful for debugging and figuring out why things are not working, especially until I finally figure out how to use a script debugger (see How to do VBScript function debugging).
The function at http://www.naterice.com/articles/43 (written by someone else) works fine for me. The one thing I changed was I set the log directory explicitly by changing these two lines:
sLogFileLocation = "C:"
'sLogFileLocation = "relative"
d
Comments