Configuring Logging in the Server_Common.conf File
You can configure server-side logging in the Server_Common.conf configuration file located in the Software AG_directory \UniversalMessaging\server\instanceName\bin directory. You can specify the following parameters related to logging:
LOG_FRAMEWORK. A third-party logging framework to use. Valid values are
LOGBACK,
LOG4J2, and
fLogger. The default is
fLogger.
LogFileDepth. The number of log files to keep on disk when using log rolling. The oldest log files are deleted when new log files are created.
LOGLEVEL. The current log level to use. The default is
5.
LOGFILE. A log file to which to write the log entries. The default is
System.out.
LOGSIZE. The maximum size in bytes of the log file before the log file is rolled. The default is
100000.
You specify these parameters in the Server_Common.conf file in the following format:
wrapper.java.additional.n=-Dparameter=value
where n is a unique positive integer.
For example, you can have the following entry:
wrapper.java.additional.26=-DLOGLEVEL=3