logging_xml » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2009-03-05 | 2009-03-05 | ||
keepuptodate can log rm (martin) | reword check for exit code (martin) | ||
Line 37: | Line 37: | ||
First, note that the XML logging is not intended for detection, if batch of operations (such as script file) succeeded or not. | First, note that the XML logging is not intended for detection, if batch of operations (such as script file) succeeded or not. | ||
- | When checking for outcome of batch execution, you need check positively for presence of operations you have executed. Absence of errors does not indicate success. Note, when using scripting, you should check WinSCP [[scripting#using_scripting|exit code]] for detection of errors. | + | When checking for outcome of batch execution, you need check positively for presence of operations you have executed. Absence of errors does not indicate success. Note, when using scripting, checking WinSCP [[scripting#using_scripting|exit code]] is the only ultimate way to detect errors. |
XML log may not include some errors, even if they occur, for two reasons: | XML log may not include some errors, even if they occur, for two reasons: |