/
How to change Security Server logging levels?

How to change Security Server logging levels?

Security Server log files are stored in /var/log/xroad/ directory. Security Server components support different logging levels: trace, debug, info, warn, error. The default logging level is info. The logging levels are configurable by component through component specific configuration files which are located in /etc/xroad/conf directory. The names of the configuration files follow the pattern below:

<component-name>-logback.xml

TRACE and DEBUG levels should be used for temporary debugging purposes only as they slow down performance and consume lot of disk space. Therefore, they're not meant for permanent use.

Step-by-step guide

  1. Open /etc/xroad/conf.d/<component-name>-logback.xml file for editing using your favorite text editor.

  2. Look for the line:

    1.  

      <logger name="ee.ria.xroad" level="INFO" />
  3. Change INFO to the level that you want to use, e.g. TRACE:

    1.  

      <logger name="ee.ria.xroad" level="TRACE" />
  4. Save changes and restart xroad-<component-name> process:

    1.  

  5. Check the component's log file (/var/log/xroad/<component-name>.log) to verify that the change was successful.

Related articles







Related content

How to Interpret Security Server Proxy Error Messages?
How to Interpret Security Server Proxy Error Messages?
Read with this
How to Disable Message Logging on the Security Server?
How to Disable Message Logging on the Security Server?
More like this
How to Configure Central Server (version >= 7.3.0)?
How to Configure Central Server (version >= 7.3.0)?
Read with this
How to Change the Security Server UI Port?
How to Change the Security Server UI Port?
More like this
How to Enable SSL Debug on the Security Server?
How to Enable SSL Debug on the Security Server?
More like this
X-Road v6.24.1 Release Notes
X-Road v6.24.1 Release Notes
More like this