Changing log levels

The log4j2.xml file is contained within the cmod-rest.war file. It is located in the WEB-INF\classes directory. To increase the log level for any one of the three appenders, you can either edit the file within the war prior to deployment or you can edit the file in its deployed location after you have deployed the application.

Before editing the log4j configuration file, you should first ensure that you have a backup.