add some logs to agent