公佈日誌檔

公佈程序期間發生的任何錯誤都會寫入下列日誌和追蹤檔中:  

messages.txt
內含公佈程序中載入器套件部份所產生的錯誤訊息。如果公佈失敗,請先檢查這個日誌。 
這些錯誤訊息中提到的行或直欄號碼是指暫存檔 master.xml, 這個檔案是在執行過 IDResolver 之後產生。 有關 master.xmlerror.xml 的進一步資訊,請參閱公佈期間建立的檔案。 
trace.txt
包含屬於公佈程序一部份的載入器套件與 ID 解析程式的追蹤資訊。依預設,會停用 trace.txt
ecmsg_hostname_timestamp.log 
記載來自 WebSphere Commerce Server 的所有執行錯誤訊息。  
wcs.log 檔
內含 WebSphere Application Server 中所執行之所有應用程式(包括公佈)傳給標準主控台的輸出。

日誌檔位於下列目錄中:

 drive:\WebSphere\CommerceServer\instances\instancename\logs
drive:\Program Files\WebSphere\CommerceServer\instancename\logs
/usr/WebSphere/CommerceServer/instances/instancename/logs
/opt/WebSphere/CommerceServer/instances/instancename/logs
/QIBM/UserData/WebCommerce/instances/instancename/logs

若要架構 trace.txtmessages.txt 日誌檔(調整記載層次或其它選項),請編輯下列檔案:

 drive:\WebSphere\CommerceServer\xml\loader\WCALoggerConfig.xml 
drive:\Program Files\WebSphere\CommerceServer\xml\loader\WCALoggerConfig.xml 
/usr/WebSphere/CommerceServer/xml/loader/WCALoggerConfig.xml 
/opt/WebSphere/CommerceServer/xml/loader/WCALoggerConfig.xml 
/QIBM/UserData/WebCommerce/instances/instancename/xml/WCALoggerConfig.xml

如果要架構 ecmsg_hostname_timestamp.log 檔, 請使用架構管理程式。

相關概念

相關作業

相關參照

IBM copyright