server/util_script.c: tune logging Last-Modified header
Follow up after Joe's feedback in STATUS:
- If APR_DATE_BAD is returned for Last-Modified, log it at INFO level
(as opposed to trace).
- Remove unnecessary guard for APLOGrtrace1(r).
@@ -718,8 +718,7 @@ AP_DECLARE(int) ap_scan_script_header_err_core_ex(request_rec *r, char *buffer,
}
}
else {
- if (APLOGrtrace1(r))
- ap_log_rerror(SCRIPT_LOG_MARK, APLOG_TRACE1, 0, r,
+ ap_log_rerror(SCRIPT_LOG_MARK, APLOG_INFO, 0, r,
"Ignored invalid header value: Last-Modified: '%s'", l);
}
}
