adding logging Agent