Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

presentlee

How can I separate normal log info and Exception log info

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?