![Orolia Seven Solutions WR-ZEN Series User Manual Download Page 106](http://html1.mh-extra.com/html/orolia/seven-solutions-wr-zen-series/seven-solutions-wr-zen-series_user-manual_1654218106.webp)
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 specific behavior of the device.
There are three different types of logging depending on the persistence:
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 preventing 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).
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 con-
tent:
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 perspective.
wproc-child-xxx.log(*)
: These files contain the log of the module with the cor-
responding ID (100 -> wr0, 101 -> wr1, ..., 148 -> eth0, 149 -> eth1).
secure
: It contains the security logging.
systemlog
: It contains the kernel/user event logging.
Systemlog
In the same way as a normal Linux device, the kernel and the userspace processes send
information to a central logger. Its contents can be found at /var/log/systemlog and it cent-
ralizes all logs in a unique file via syslog.
The log entries have the following format:
May 28 06:19:06 zen-425 root: healthingd#W:
96
CHAPTER
7
•
WR-Z16 User Manual Rev. v3.4
7.1 Syslog
Summary of Contents for Seven Solutions WR-ZEN Series
Page 1: ...WR Z16 MODEL User Manual Revision v3 4 Date 14 October 2022 ...
Page 2: ......
Page 4: ...Blank page II WR Z16 User Manual ...
Page 38: ...BLANK PAGE 3 2 Connecting to the Device 28 CHAPTER 3 WR Z16 User Manual Rev v3 4 ...
Page 104: ...BLANK PAGE 6 5 Firewall 94 CHAPTER 6 WR Z16 User Manual Rev v3 4 ...
Page 144: ...BLANK PAGE 8 5 Failsafe Mode 134 CHAPTER 8 WR Z16 User Manual Rev v3 4 ...
Page 167: ...V Virtual Clock 47 W Web GUI 32 White Rabbit 2 58 WR 2 WRZ OS 3 WR Z16 User Manual iii INDEX ...