Index: [Article Count Order] [Thread]

Date:  Wed, 14 Feb 2001 14:31:41 +0900
From:  Kazuhiko Sato <kazuhiko.sato@hco.ntt.co.jp>
Subject:  [analog-jp:00389] help#  ブラウザの概要&レポート表示の設定
To:  analog-jp@monyo.com
Message-Id:  <4.2.0.58.J.20010214140643.009b4490@teioa01.hco.ntt.co.jp>
Posted:  Wed, 14 Feb 2001 14:31:06 +0900
X-Mail-Count: 00389


佐藤です。
Why? Method Not Allowedではお世話になりました。

再度、単純な事を確認させてください。

表題通りの「ブラウザの概要&レポート表示設定」についてなのですが、
現在、当方のApacheのLogの設定は、以下(httpsd.conf一部抜粋)のように
なっており、agentの情報はLogファイル(httpsd_access_log)には出ておりません。

CustomLog /usr/local/apache/logs/httpsd_access_log common


この状態で、analogで「ブラウザの概要&レポート」解析が出来ないのは当たり前な 
のですが、

#CustomLog /usr/local/apache/logs/httpsd_agent_log agent

#CustomLog /usr/local/apache/logs/httpsd_access_log combined

のどちらをコメントアウトすればよろしいでしょうか?

上の設定だと、agentが独自のログファイルを作りますよね?
そうなるとanalogでは自動にhttpsd_agent_logとhttpsd_access_logを
参照しマージするのでしょうか?

マージしないなら、下のコメントを生かすしか無いとはわかっているのですが。

(でも、Logファイルのサイズを大きくしたくないという思いもあるんですよ。)


------httpsd.conf一部抜粋-----------

# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

#
# 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
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

#
# 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 /usr/local/apache/logs/httpsd_access_log common

#
# If you would like to have agent and referer logfiles, uncomment the
# following directives.
#
#CustomLog /usr/local/apache/logs/httpsd_referer_log referer
#CustomLog /usr/local/apache/logs/httpsd_agent_log agent

#
# If you prefer a single logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
#CustomLog /usr/local/apache/logs/httpsd_access_log combined


ωωωωωωωωωωωωωωωωωωωωωωωω
日本電信電話(株) 逓信ビルヘルプデスク
〒100‐8116 千代田区大手町2‐3‐1 逓信ビル8F
TEL:03-5205-5573(代) FAX:03-5205-5791
TEL:03-5205-5776(直通)
佐藤和彦
E-Mail:kazuhiko.sato@hco.ntt.co.jp
ωωωωωωωωωωωωωωωωωωωωωωωω