Liberty configuration file server.xml
Usage
The WebSphere® Application Server Liberty configuration is defined in the server.xml file. Because Global Mailbox is built on the Liberty base profile, the configuration in server.xml is not shared between Global Mailbox nodes. Any cluster-wide changes made on one Global Mailbox node must be manually made to the other Global Mailbox nodes (for example, changing the listen port, adding a trusted certificate to the trust store).
Edit the file with a text editor.
File location
install_dir\*\server.xmlEnvironment
Linux® and WindowsAuthorization
Only users with administrative permissions can edit the server.xml file.Syntax
<component> = <level>
Option descriptions
- logging traceSpecification
- In format <component> = <level> Where <component> is the component for which to set a log detail level, and <level> is one of the valid logger levels (off, fatal, severe, warning, audit, info, config, detail, fine, finer, finest, all). Separate multiple log detail level specifications with colons (:)
- com.ibm.mailbox.common.controlcenter.event.*
-
To enable tracing for IBM® Control Center events, specify a value of finer.
Examples
To enable tracing for a specific Cassandra Data Access Object (DAO), specify the logging level
with the following
value:
logging traceSpecification = com.ibm.mailbox.database.dao.cassandra.DAOName.level=ALL
To enable tracing for warning level on Apache Curator, severe level for replication
server, and event information for IBM Control
Center, specify the logging level with
the following
value:
logging traceSpecification="org.apache.curator.*=WARNING:com.asperasoft.*=SEVERE:*=info=enabled:com.ibm.mailbox.common.controlcenter.event.*=finer"/>