FILL BLANK -
What configuration directive of the Apache HTTPD server defines where log files are stored? (Specify ONE of the directives without any other options.)
FILL BLANK -
What configuration directive of the Apache HTTPD server defines where log files are stored? (Specify ONE of the directives without any other options.)
The configuration directive in the Apache HTTPD server that defines where log files are stored is ErrorLog. The ErrorLog directive specifically sets the file name and location for logging server errors. CustomLog, on the other hand, is used to log requests and typically requires a log format specification. For the purpose of defining where error logs are stored, ErrorLog is the correct directive.
What's about CustomLog?
I think might work as well. It's asking to type one, so could be any of them in fact.
https://httpd.apache.org/docs/current/logs.html ErrorLog CustomLog TransferLog
ErrorLog CustomLog or TransferLog for example: ErrorLog /var/log/httpd/error_log CustomLog logs/access_log common or TransferLog logs/access_log
The right answer is ErrorLog ErrorLog - The ErrorLog directive sets the name of the file to which the server will log any errors it encounters. If the file-path is not absolute then it is assumed to be relative to the ServerRoot. CustomLog - The CustomLog directive is used to log requests to the server. A log format is specified, and the logging can optionally be made conditional on request characteristics using environment variables. https://httpd.apache.org/docs/current/mod/core.html#errorlog