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

定义保留的最大日志文件数(启用了滚动时)。