Debug logging for date stack and averaging