設定CM Library Manager Log Level:
使用 db2 update icmadmin.icmstsyscontrol set tracelevel = –15 SQL指令,可以Log到最多的資訊。取得需要的資訊後,記得將其設為零,才不會造成Log檔爆滿。預設CM Library Manager的Log存在於%CMProgramDir\log\ls\${DB_Name} 下的ICMSERVER.log中
設定 API Call Log Level:
每個要查詢Content Manager的server都會有裝CM Client,因此需到相對應的server上的 %CMProgramDir\cmgmt\connectors目錄下,編輯cmblogconfig.properties設定檔,設定 DKLogPriority = DEBUG。取得需要的Log後,記得將其設為DKLogPriority = ERROR,才不會造成API Log檔爆滿。預設API Call Log會存在 %CMProgramDir\log\connectors 下的 ${User_ID}.dklog.log中
Tables used by SCORE in Content Manager
SCORE系統的所有文件都是屬於 base_document這個 Item Type,Content Manager用 ICMUT01032001表格來儲存每筆Import進來的文件的相關資訊,若需要知道文件的詳細meta-data資訊,需Join ICMUT01028001 這個表格的資訊,以下為sample SQL:
SELECT b.*,a.attr0000001035,a.createts FROM ICMADMIN.ICMUT01028001 a, ICMUT01032001 b where a.itemid = b.itemid order by a.createts desc fetch first 1 rows only
ICMUT00301001 是CM base text 的表格,任何import進Content Manager的 text文件都會在此表格有一相對應的record。