![Black Box LS1016A User Manual Download Page 249](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435249.webp)
Chapter 3 - Additional Features
User Guide
249
Syslog
The syslog-ng daemon provides a modern treatment to system messages. Its basic function is
to read and log messages to the system console, log files, other machines (remote syslog serv-
ers) and/or users as specified by its configuration file. In addition, syslog-ng is able to filter
messages based on their content and to perform an action (e.g. to send an e-mail or pager
message). In order to access these functions, the
syslog-ng.conf
file needs some specific con-
figuration.
The configuration file (default: syslog-ng.conf) is read at startup and is reread after reception
of a hangup (HUP) signal. When reloading the configuration file, all destination files are
closed and reopened as appropriate. The syslog-ng reads from sources (files, TCP/UDP con-
nections, syslogd clients), filters the messages and takes an action (writes in files, sends
snmptrap, pager, e-mail or syslogs to remote servers).
There are five tasks required for configuring syslog-ng:
Task 1: Define Global Options.
Task 2: Define Sources.
Task 3: Define Filters.
Task 4: Define Actions (Destinations).
Task 5: Connect all of the above.
The five tasks are explained in the following section
“Syslog-ng and its Configuration” on
page 256
.