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:
...
Note |
---|
|
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
Open
/etc/xroad/conf.d/<component-name>-logback.xml
file for editing using your favorite text editor.Look for the line:
Code Block <logger name="ee.ria.xroad" level="INFO" />
Change
INFO
to the level that you want to use, e.g.TRACE
:Code Block <logger name="ee.ria.xroad" level="TRACE" />
Save changes and restart
xroad-<component-name>
process:Code Block $ service xroad-<component-name> restart
Check the component's log file (
/var/log/xroad/<component-name>.log
) to verify that the change was successful.
...