add timestamp to error.log