added logging of measured values to console.c