add some log statements for CommandListener and insertMeasurement