Correctly export agent logger