setting up logs ready for calling learning agent