added event to send agent.log file to the hub