agents logging added