Posted: 2014-09-30 09:35
How can I use script to separate normal log information and Exception log information?
I write following command into a bat file(windows):
winscp /script=qwer.txt /log=log4qwer.txt /xmllog=log4qwer.xml
After running this bat, I can get a log file named log4qwer.txt, but in this file, I can see very detail log information. But sometimes I just care about , are there any Exception during the running of the FTP client?
Can I use some paramter in the bat file or script file to separate normal log information and Exception log information, or output the Exception log information to a specified path alone?
Location: Prague, Czechia
You can parse the exception out of XML log. Or simply, just check WinSCP exit code.
You can post new topics in this forum
And it's free!