added logging to the data collector