View Single Post
  #20  
Old 10-11-2016, 03:58 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi corp-mule,

I have some further insight from our scripting guru:
  • If out of sync, logging will stop at the point where Session.Log = False (which may very well be before all of the output arrives)

  • Considering that the script is using a WaitForStrings(strPrompt, "#"), that means that an errant "#" character anywhere in the output of a command (not part of the shell prompt) could result in getting out of sync

  • For troubleshooting purposes, use ReadString() instead of WaitForStrings(), and write the results of each ReadString(strPrompt, "#") to a separate log file so you can potentially determine where the script is getting out of sync
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote