ユーザー通信アクティビティー・ログ

ユーザー通信アクティビティー・ログは、サイト・レベルで発生するイベントとアクティビティーを記録します。 データは USRTRAFFIC データベース・テーブルに保管されます。 アクティビティーは、論理的に関連する一連のデータによって表されます。 データベースの全体像からみると、アクティビティーは特定テーブルの行を表します。

アクティビティー (またはデータ) には 2 つのタイプがあります。

デフォルトでは、ユーザー通信ログは使用可能になっていません。 ユーザー通信の構成データは構成ファイルに保管されています。 このファイルは、以下の汎用パスにあります。

drive:\Program Files\WebSphere\CommerceServer\instances\instance_name\xml\instance_name.xml
drive:\WebSphere\CommerceServer\instances\instance_name\xml\instance_name.xml
/usr/WebSphere/CommerceServer/instances/instance_name/xml/instance_name.xml
  /opt/WebSphere/CommerceServer/instance/instance_name/xml/instance_name.xml
/QIBM/UserData/WebCommerce/instances/instance_name/xml/instance_name.xml

ユーザー・トラフィック構成は、次のような instance_name.xml ファイルが基になります。

  <Components>
    <component compClassName="com.ibm.commerce.event.usertraffic.UserTrafficEventListener"
               enable="true"
               name="UserTrafficEventListener">
      <property display="false">
        <start enabled="true" />
      </property>
    </component>
  </Components>

XML エレメントの enable 属性は、UserTraffic アクティビティーの状況に影響します。 この属性が true の場合、コンポーネント・フレームワークは UserTrafficEventListener を作成し、property エレメント内に含まれる値を渡します。 ユーザー通信データを収集するには、start enabled 属性を true に設定する必要があります。

関連概念

IBM 著作権