Change Default Logging Level by Component

By default, the Controller generates logs at the INFO level. You can change the level for one or all of the components. This may be needed, for example, when you are debugging your system, and want the Controller to generate more information in the form of logs. On the other hand, you may wish to reduce logging verbosity to minimize the reduce the rate of growth of log files. The following steps describe how to change the default log levels.

  1. Log in to the server where you have deployed the Controller.
  2. Navigate to the <controller_home>/appserver/jetty/resources/logback.xml file.
    By default, the log level changes apply within in few minutes without a restart.
  3. Modify the required loggers and save the file. See, Logback Configuration.

    For example, if you wish to change the com.hibernate logger, update as follows:

    <logger name="com.hibernate" level="DEBUG"/>