logging_xml » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2009-03-03 | 2009-03-03 | ||
anchor scripting#using_scripting to exit code (martin) | no error example is for download, not upload (martin) | ||
Line 39: | Line 39: | ||
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: | ||
* The operation that failed does not have corresponding log element (see [[logging_xml#operations|above]]). | * The operation that failed does not have corresponding log element (see [[logging_xml#operations|above]]). | ||
- | * The error is not associated with particular physical operation. Simple example is authentication failure. More treacherous example is failure to list remote directory, to find list of files it contains, while uploading the directory. While this error occurs during upload operation, it is not associated with upload of any particular file. So it will be absent from the XML log. | + | * The error is not associated with particular physical operation. Simple example is authentication failure. More treacherous example is failure to list remote directory, to find list of files it contains, while downloading the directory. This error occurs during download operation, which is logged. But as download of individual files is logged only, the error is not associated with download of any particular file. So it will be absent from the XML log. |
With some protocols, each of the physical operations are performed individually. With some protocols, set of operations may be performed in atomic form. This may prevent mapping error to specific operation. In this case the error may be associated with more operations, resulting in its duplication in the XML log. | With some protocols, each of the physical operations are performed individually. With some protocols, set of operations may be performed in atomic form. This may prevent mapping error to specific operation. In this case the error may be associated with more operations, resulting in its duplication in the XML log. |