added time stamp to logging data

tested and working