Fixed time/date stamp logging problem