Add INFO and ERROR logging to agents