wiki:rasdamanlogging

Version 1 (modified by atoader, 21 months ago) (diff)

--

Logging configuration

Definitions

A couple of variables are used in this page:

  • $RMANHOME is the target directory where rasdaman will be installed, by default: /usr/local/rasdaman.
    • $RMANHOME/etc contains the configuration

Easylogging++

rasdaman uses the Easylogging++ library for logging in its C++ components. The location of the log output, its format and other properties can be configured by using Easylogging++ configuration files described on the authors GitHub page.

The following configuration files are provided by the default installation:

  • $RMANHOME/etc/log-rasmgr.conf - used to configure the log output of rasmgr.
  • $RMANHOME/etc/log-server.conf - used to configure the log output of all the rasservers.
  • $RMANHOME/etc/log-client.conf - used to configure the log output of client applications e.g. rasql.

The files are automatically loaded when an application starts. After a user modifies a configuration file, the application that uses the file must be restarted for the change to take effect.