使用者流量活動日誌記載

使用者流量活動日誌會記錄發生於網站層次的事件與活動。 資料會儲存在 USRTRAFFIC 資料庫表格中。 活動是以一組邏輯上相關的資料代表。從資料庫的角度而言,活動代表特定表格中的一列。

活動或資料的類型有兩種:

在預設的情況下,不會啟用使用者流量日誌功能。使用者流量的架構資料儲存在架構檔中。 您可以根據下列同屬路徑,找出此檔案:

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 copyright