この種のログ エントリを除外したいaccess.log
66.249.78.134 - - [01/Apr/2016:10:56:29 +0000] "POST /get_subtitle HTTP/1.1" 200 416 "https://example.com/?artist=name&track=song" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
したがって、ファイル000-default.conf
とdefault-ssl.conf
ファイルでこれらのルールを設定します
SetEnvIFNoCase User-Agent "^Googlebot" dontlog
CustomLog ${APACHE_LOG_DIR}/access.log combined env=!dontlog
Apache が Googlebot の活動を記録し続けるのはなぜですか?