Syslog; Session Logs - Safran WR-ZEN Series User Manual

Hide thumbs Also See for WR-ZEN Series:
Table of Contents

Advertisement

7.1  Syslog
7.1

Syslog

Syslog is a standard for message logging. It allows separating the software that
generates messages, the system that stores them, and the software that reports
and analyzes them. The aim of logging is to collect all the system information and
make it easily accessible for the user. Kernel events, changes in the state of the
device or user actions are sometimes useful information in terms of debugging or
monitoring. Information about the state of the device in the past or a value of a
given parameter in a certain time could be critical to find out the reason of a spe-
cific behavior of the device.
There are three different types of logging depending on the persistence:
7.1.1

Session logs

During the operation of the device a log recording is performed, saving the
information in different local files. These files are normally saved at /var/log, and
have the following content:
Systemlog
In the same way as a normal Linux device, the kernel and the userspace pro-
cesses send information to a central logger. Its contents can be found at
124
Session
logs: These logs are initialized at boot time and are lost when the
device is powered off. They are usually saved in a reserved directory /var/-
log.
Permanent
logs: These logs are kept between reboots, giving information
about the state of the device before it was restarted. These kinds of logs
help to find out the reasons of the last reboot or if there is something pre-
venting the device from start.
Remote
logs: They are saved remotely via rsyslog. It is necessary to set-up
at least one external server for this purpose (max 2).
auth.log: It contains all the accesses or connections to the device through
SSH (Secure Shell), serial port, web interface,...
boot.log: It contains the boot information from a userspace perspective.
boot-procedure.log: It contains the boot information from a kernel per-
spective.
wproc-child-xxx.log(*): These files contain the log of the module with the
corresponding ID (100 -> wr0, 101 -> wr1, ..., 148 -> eth0, 149 -> eth1).
secure: It contains the security logging.
systemlog: It contains the kernel/user event logging.
CHAPTER
7
WR-ZEN Series User Manual Rev. v5.1

Advertisement

Table of Contents
loading

Table of Contents