[agent] improve logs