Changed the log file of agent