Apacheのアクセスログがいつのまにか正常に記録されないようになってました。
以下のような表示になります。
::1 - - [15/Apr/2016:16:55:25 +0900] "OPTIONS * HTTP/1.0" 200 - "-" "Apache (internal dummy connection)" コード
なにが原因のこのようになったか切り分け方法に困り質問させていただきました。
バージョンは、Apache 2.2
tomcat 連携して使ってます。
tomcatの設定ファイル server.xml 触っておりました。
どのような原因がありますでしょうか。
ご意見いただけれるとありがたいです。
# # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn <IfModule log_config_module> # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common # CustomLog Proseeds SetEnvIf Request_URI \.gif image-request SetEnvIf Request_URI \.jpg image-request SetEnvIf Request_URI \.png image-request SetEnvIf Request_URI \.css image-request <IfModule logio_module> # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio </IfModule> # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a <VirtualHost> # container, they will be logged here. Contrariwise, if you *do* # define per-<VirtualHost> access logfiles, transactions will be # logged therein and *not* in this file. # #CustomLog "logs/access_log" common #Tuiki 20101212 CustomLog "|/usr/local/apache2/bin/rotatelogs /usr/local/apache2/logs/access_log.%Y%m%d 86400 540" combined env=!image-request # # If you prefer a logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # #CustomLog "logs/access_log" combined </IfModule>

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。