agent: improve logs