[datalogger] minor fixes - debug mode