Logs

listLogs

This function lists all Log Objects.


getLog

This function prints the objects data given its Log ID.


deleteLog

This function allows you to delete the object given its Log ID.


listLogItems

This function lists all Log Item Objects.


getLogItem

This function prints the objects data given its Log Item ID.


Parameter Dictionary

Log Object

Parameter name Type Description Possible Values Example
_id String The Log ID.   5f8a21545108792bb859b1a3
start_time Date The date and time the log was created.   '2021-04-07T14:17:02+00:00'
end_time Date The date and time the log was completed.   2021-04-07T14:17:02+00:00
execution_time Integer Total time (seconds) the process spent executing.   146 (secs)
actual_time Integer Total time (seconds) the process spent pending in the queue AND executing.   500 (secs)
info list [] Additional information for the process that was executed. Backup Job ID, Account name, etc.    
status Integer Status of the process after completion.
Completed 1
Failed 2
Aborted 3
Partially Complete 4
Never Finished 5
Processing 6
1 (Completed)
type Integer The type of log.
Backup 1
Download 2
Restore 3
System 4
Reindex 5
Backup on Demand 6
2
file String The corresponding path to the log file.   /usr/local/jetapps/var/log/jetbackup5/queue/1_607e54187a5bf71622268560.log
items String The corresponding path to the log items file.   /usr/local/jetapps/var/log/jetbackup5/queue/1_607e54187a5bf71622268560.items

Log Item Object

Type Name Type Description Possible Values Examples
_id String The Log Item ID.   607e54197a5bf71622268561
owner String The ID of the owner.   606dbe8b90f1b17d0569b834
owner_name String The name of owner matching the corresponding owner ID.   root
created Date The date and time the log item was created.   2021-04-20T04:10:01+00:00
started Date The date and time the log item began processing.   2021-04-20T04:10:01+00:00
ended Date The date and time the log item was completed.   2021-04-20T04:10:08+00:00
execution_time Integer Total amount of time (seconds) the Log Item spent processing.   7 (secs)
type Integer The type of log.
Backup 1
Download 2
Restore 3
System 4
Reindex 5
Backup on Demand 6
1
Status Integer Status of the process after completion.
Pending 1
Processing 2
Completed 100
Partially Complete 101
Failed 102
Aborted 103
Never Finished 104
1