Add log to print sensed value