[logs] clean up getInfoForJob method