Sun Java System Communications Express 6.3 管理指南

uwclogging.properties 檔案

表 C–6 列出 uwclogging.properties 檔案的參數。

表 C–6 預設記錄配置檔案

參數 

預設值 

說明 

uwc.logging.enable

no 

啟用或停用記錄。若要啟用記錄,則將預設值變更成 yes。 

uwc.log.file

/var/opt/SUNWuwc/logs/

uwc.log

指定記錄檔的位置。 

根據需要變更檔案的位置。 

uwc.log.level

INFO

指定應用程式的記錄層次。將應用程式的記錄層次變更為所需層次。 

可用的記錄層次值包括: 

WARNING、INFO、FINE 與 SEVERE。 

uwc.log.formatter

SimpleFormatter

描述處理程式的配置資訊。 

根據預設,格式化程式是 SimpleFormatter。您也可以指定 XMLFormatter 

uwc.log.maxsize

0

以 MB 為單位定義記錄檔大小的最大值。當目前的檔案大小達到此值時,Communications Express 將自動重建新的記錄檔。預設值為 0,也就是未限制記錄檔大小。

uwc.log.maxfiles

5

定義啟用自動重建時要保留的最大記錄檔數量。