using dates in error logs