Syntax of elogd.cfg

The configuration file elogd.cfg contains entries which define the structure of logbooks and the behavior of elogd. The file has a simple ASCII format. Each logbook is defined by a [<name>] section where <name> is the name of the logbook. The [global] section is used for settings common to all logbooks. Each line contains a setting name, followed by an equal sign and the value for this setting. Lines starting with ";" are treated as comments.

Here is a simple example, which define two logbooks "Linux" and "PC":

Global options

Following options are possible in the [global] section:

Individual logbook options

Following options are available in the individual logbook sections:

General options

Attributes

Access control

EMail notification

Flags

Themes

Themes are layout and color schemes which determine the look and feel of a logbook. Each theme resides in a separate subdirectory and is specified with the theme = <dir> option in the configuration file. The directory contains the file theme.cfg and a couple of images, which are used for the title banner and the browse buttons. A default theme is contained in the distribution. If new themes are developed by users, they can send them back to the author, so they can be included in future releases.

Most of the options in the theme.cfg are self-explanatory, the colors are coded as #RRGGBB, where RR is a 8-bit hexadecimal value for the red part, GG for the green and BB for the blue part, repectively. Since theme configuration files are re-read at each access, the elogd daemon does not have to be restarted after a change in the theme configuration file.

Following two images display the same logbook page using different themes:

  

Back to Elog home page

Stefan Ritt, May 23rd, 2001