I think A and B are correct. According to the documentation of the module mod_log_config there's 3 directives: TransferLog, CustomLog and LogFormat. Even though ErrorLog is one of the main options for logs, not sure if that would be the right one.
If the question has 2 options, I'd go for A and B. If there's 3 I'd add ErrorLog all right.
http://httpd.apache.org/docs/current/mod/mod_log_config.html
Chatgpt:
The logging directives in Apache HTTPD are:
A. TransferLog
C. ErrorLog
Therefore, the correct options are A and C.
Explanation:
TransferLog: This directive is used to specify the log file for recording the access logs. It defines the file where the details of incoming requests and server responses are logged.
ErrorLog: This directive is used to specify the log file for recording the error logs. It defines the file where Apache HTTPD records errors and warnings encountered during server operation.
The options B, D, and E (CustomLog, ServerLog, and VHostLog) are not valid logging directives in Apache HTTPD.
# Journal personnalisé avec alias de format
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog "logs/access_log" common
# Journal personnalisé avec chaîne de format explicite
CustomLog "logs/access_log" "%h %l %u %t \"%r\" %>s %b"
Even in the whole Apache conf directory Transfer doesn't seem to appear by default but Error and Custom do.
egrep -r 'TransferLog|CustomLog|ErrorLog' /etc/apache2/*
upvoted 2 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
hobokabobo
Highly Voted 3 years, 8 months agoAdonist
Highly Voted 3 years, 7 months agoAmjadqzz1
Most Recent 8 months, 3 weeks agomira_
1 year, 5 months agojorge_pas
2 years, 4 months agoexco
2 years, 6 months agosaod
2 years, 9 months agoglorofarz
3 years, 7 months agoexco
2 years, 6 months agoAdmingui
3 years, 7 months agotcaseit
3 years, 3 months ago