The log information generated by the various system components on their operation can be extremely useful when trying to isolate or troubleshoot a problem.
Edit the file uwclogging.properties in uwc-deployed-path/WEB-INF/config directory
The uwclogging.properties file stores the following parameters:
Module/Log Control File |
Parameter |
Default Value |
Description |
---|---|---|---|
Configuration |
Logs are maintained in a time-stamped file at /opt/SUNWuwc/install/uwc-config _TIME-STAMP.log |
||
Communications Express uwc-deployed-path/WEB-INF/config/uwclogging.properties |
no |
Enables or disables logging. To enable logging change the property value of uwc.logging.enable to “yes.” For example, uwc.logging.enable=yes |
|
Communications Express uwc-deployed-path/WEB-INF/config/uwclogging.properties |
uwc.log.file |
uwc-deployed-path/logs/uwc.log For example: /var/opt/SUNWuwc/logs/uwc.log |
Specifies the location of the log file. Change the location of the log file, if required. Ensure Web Server can write to this file. |
Communications Express uwc-deployed-path/WEB-INF/config/uwclogging.properties |
uwc.log.level |
INFO |
Specifies the log level for the application. Change the log level for the application to the desired level. The log level values available are: WARNING, INFO, and FINE, SEVERE. |
Module/Log Control File |
Parameter |
Default Value |
Description |
---|---|---|---|
Address Book uwc-deployed-path/WEB-INF/config/uwcconfig.properties |
log.file |
/tmp/trace.log |
Specifies the location of the log file. Change the location of the log file, if required. Ensure Web Server can write into this file. |
Address Book uwc-deployed-path/WEB-INF/config/uwcconfig.properties |
3 |
Specifies the log level for the application. To disable logging for this module, set the value to 0. |
|
|
Refer to Chapter 20, Logging and Log Analysis, of Sun Java System Messaging Server Administration Guide |
After you set the default values in uwclogging.properties and uwcconfig.properties file, restart the Web Server.
Enabling logging will impact the performance of the system.