|
|
EELS can log messages to multiple destinations, depending on what log destinations are configured. Log destinations are configured using log-destination parameter blocks in /etc/default/eels. An example of a log-destination parameter block is shown below:
log-destination default { database default; table events; }The example block specifies which database and database table to use when a ``default'' log destination is specified, such as in the example shown in ``Log sources''.
The name that follows ``log-destination'' is the name that identifies the parameter block within the configuration file. Each log-destination parameter block consists of either two parameters called ``database'' and ``table'', or a single parameter called ``hostname''.
The ``database'' and ``table'' parameters are used to log messages locally. If messages are to be logged on a remote server, you must use ``hostname'' instead. How to customize remote logging is described in ``Remote logging''.