Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
None
Description
David Li 3:22 PM
Got a question related to the built-in httpd config (/etc/httpd/conf/httpd.conf):
I’m trying to override the http error format in my custom conf.d/custom-http.d, but found the following problem:
—
IncludeOptional conf.d/*.conf
ErrorLogFormat “httpd;error_log;%{ENV}e;%{USERTOKEN}e;[%\{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i”
—
Is there any reason that the “ErrorLogFormat” directive is put after “IncludeOptional conf.d/*.conf”? Can the order be reversed? Or is there a work-around?