Submitted by reesd on 2012/05/23 12:51
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

Useful stuff. Thanks !
 
--------------------------------------------------------------------------------
Windows XP Home Edition, Service pack 3
Dell Vostro 1500, Ram:3gb, CPU: Intel Core2Duo T7500 2.2ghz