How to Disable Message Logging on the Security Server?

Message logging can be stopped by disabling the message log add-on the Security Server. Once the add-on has been disabled, no new messages are stored in the message log database. In case the message log database contains messages when the add-on is disabled, the existing messages will remain in the database since the message log archiving and automatic removal of archived messages are stopped too.

Step-by-step guide

Message logging can be stopped by disabling the message log add-on on the Security Server. The add-on can be disabled by following these steps:

  1. Rename the /usr/share/xroad/jlib/addon/proxy/messagelog.conf configuration file:

    sudo mv /usr/share/xroad/jlib/addon/proxy/messagelog.conf /usr/share/xroad/jlib/addon/proxy/messagelog.conf.disabled
  2. Restart the xroad-proxy service:

    sudo systemctl restart xroad-proxy

Related articles