Constructor
FTSLocalLogViewer
__construct
([string $root = '/var/tmp/'])
-
string
$root: : the root path of the file to read ('/var/tmp/' by default)
Redefinition of:
- FTSLogViewer::__construct()
- Constructor
This method reads the log in a file located in the local file system
The root directory <ROOT> is defined in the configuration file. It is "/var/tmp" by default The relative log file will be:
- if transfer is in state 'Processing': "<ROOT>/glite-url-copy-edguser/<IDENTIFIER>.log"
- if transfer is in state 'Aborted': "<ROOT>/glite-url-copy-edguser/<CHANNEL>failed/<IDENTIFIER>.log"
- otherwise: "<ROOT>/glite-url-copy-edguser/<CHANNEL><STATE_IN_LOWERCASE>/<IDENTIFIER>.log"
Or the log file can be found in an archive named like:
- if transfer is in state 'Aborted' or 'Failed': "<ROOT>/transfer_failed/glite-[url|srm]-copy-<CHANNEL>failed-<DATEHOUR>-\d+.tar.gz"
- if transfer is in state 'Completed': <ROOT>/transfer_completed/glite-[url|srm]-copy-completed-<DATEHOUR>-\d+.tar.gz"
Array
retrieveLog
()
Redefinition of:
- FTSLogViewer::retrieveLog()
- Retrives the log as an array
Inherited Methods
Inherited From FTSLogViewer
FTSLogViewer::__construct()
FTSLogViewer::getLog()
FTSLogViewer::retrieveLog()