uCosminexus Application Server, Application Setup Guide
You can change the log output destination and log level for the logs of server management commands. The items that you can change, and the user-defined files and keys corresponding to the items are as follows:
| Item | Corresponding user-defined file and key |
|---|---|
| Log output destination | -Dejbserver.log.directory option of the USRCONF_JVM_ARGS key of usrconf.bat (in Windows) or usrconf (in UNIX) |
| Log level | ejbserver.logger.enabled.* key of usrconf.properties |
For details on the files and keys, see 5. Files Used with Server Management Commands in the uCosminexus Application Server Definition Reference Guide.
For details on the disk space required to output the trace information of TPBroker, see the description related to the occupied disk space in the TPBroker Operation Guide.
To change the log output destination of server management commands, specify the output-destination directory of logs in usrconf.bat (in Windows) or usrconf (in UNIX) for server management commands.
The log level of server management commands represents the importance of logs. There are four log levels; Error, Warning, Information, and Debug. If you set a log level, the log of the set level is output. By default, only the log of the Error level is acquired. In normal cases, use the default settings.
A log level is set by the following key of usrconf.properties for the server management commands:
ejbserver.logger.enabled.*=level-name
In the level name, specify either one or multiple character strings from Error, Warning, Information, and Debug. To specify multiple levels, demarcate the character strings of the level name with a comma (,).
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.