Closed elielias closed 3 years ago
I would suggest to use logger instead of "print"
E.g. line 68 in logfile_handler.py
print('\n deviceid: {}\n starttime: {}\n endtime: {}\n searchtext:{}\n maximumlines:{} \n'.format(deviceid, starttime, endtime, searchtext, maximumlines))
Add Exception Handling try - except in handleOperation In case of error set the Operation to failed.
Line 131: binaryurl = self.agent.rest_client.upload_binary_logfile(internal_id, payload, file) function upload_binary_logfile does not exist in main branch.
Line 131: binaryurl = self.agent.rest_client.upload_binary_logfile(internal_id, payload, file) function upload_binary_logfile does not exist in main branch.
function is pushed now
The LogHandler Module needs to be reviewed