Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


What are the stdout logs?

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,29941
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> What are the stdout logs?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 What are the stdout logs? - 1/16/2006 4:04:24 AM   
  soultech2012

 

Posts: 3
Score: 0
Joined: 1/12/2006
Status: offline
I'm brand new to VBScript and I'm doing ASP with IIS. I tried Debug.print("Stuff to log") but I have no idea where the stdout goes to. How do you typically log/debug for VBScript/ASP?
 
 
Post #: 1
 
 RE: What are the stdout logs? - 1/17/2006 2:39:43 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
Debug.Print is a VB construct and is not available in VBScript. Instead you have three common options:

1) If you are running pure VBScript and not usin IIS for ASP, then use WScript.Echo to write to STDOUT.
2) In an ASP page, use Response.Write to write information to the page.
3) Use the FileSystemObject to open a text stream and write information out ot a text file.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to soultech2012)
 
 
Post #: 2
 
 RE: What are the stdout logs? - 1/17/2006 5:52:22 AM   
  ehvbs

 

Posts: 2061
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
A better option:

  (4) goto http://www.visualbasicscript.com/m_24797/tm.htm

Even if you don't need such a full fledged logging system, working
thru this code will make you a better person - no I mean: programmer.

(in reply to ebgreen)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> What are the stdout logs? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts