Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

Code Block
<component-name>-logback.xml
Note

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.

Common On the Central Server, common Nginx configuration files are located in /etc/nginx directory. X-Road specific Nginx configuration files are located in /etc/xroad/nginx directory. Nginx logging levels can be changed through /etc/nginx/nginx.conf configuration file.

Step-by-step guide

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

...

  1. favorite text editor.

  2. Look for the line:

    1. Code Block
      <logger name="ee.ria.xroad" level="INFO" />

  3. Change

...

  1. INFO

...

  1. to the level that you want to use, e.g.

...

  1. TRACE

...

  1. :

    1. Code Block
      <logger name="ee.ria.xroad" level="TRACE" />

  2. Save changes and restart xroad-<component-name> process:

    1. Code Block
      $ service xroad-<component-name> restart

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

Filter by label (Content by label)
showLabelsfalse
max5
spacesXRDKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "security-server" and type = "page" and space = "XRDKB"
labelssecurity-server


Page Properties
hiddentrue


Related issues