B&B Electronics, Inc.
SPECTRE Configuration Manual
17
710-10001-02 Rev. 3.0
www.bb-elec.com
www.bb-europe.com
1.7. System log
Use the
System Log
menu item to view the router system log. The system log contains
helpful information on the operation of the router. Only the most recent information is shown on
the screen but older log entries can be viewed by saving the system log to a file and opening it
with a text editor. The
Save
button allows you to save the system log to a file. The system log is
cleared when the unit re-boots.
Fig. 7: System log
The Syslog default size is 1000 lines. When the system log reaches the maximum size, it
is deleted and a new log file is started.
The program
syslogd
can be run on the router to configure the system log. The
syslogd
option
"-s"
followed by decimal number will set the maximum number of lines in the log file. The
"-r"
option followed by the hostname or IP address will enable logging to a syslog daemon on a
remote computer. On remote Linux machines, the syslog daemon is enabled by running
syslogd
with the parameter
“-r”
. On remote Windows machines, a syslog server such as Syslog Watcher
must be installed.
To enable remote logging when the router powers up, modify the script
"/etc/init.d/syslog"
or add the commands
"killall syslogd"
and
"syslogd <options>"
into the
startup script.
The following example shows how to send syslog information to a remote server at
192.168.2.115 on startup.
Fig. 8: Example
syslogd
startup script with the parameter -r