Using EELS

Customizing log destinations

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''.


NOTE: Any database and/or database table you specify in a log-destination parameter block must have previously been created using eels_db_admin(1Meels).

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''.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004