Справочник Пользователя для 7signal INDR-EYE01
7 Log Settings
59
7signal Solutions Inc., 526 S. Main Street, Akron, Ohio 44311, USA, 855-763-9526, info@7signal.com,
www.7signal.com
7
sig
n
al
Sa
p
p
h
ire
D
ep
lo
yme
n
n
t
G
u
id
e R
ele
as
e 5
.0
Without any arguments the command shows of the whole log and returns immediately:
# logread
The logging can be directed to rotating log files instead of the ring buffer with
7config log
– command.
Name and location of the log files depends on Eye hardware version:
Eye for 802.11a/b/g:
/nand/syslog
Eye for 802.11a/b/g/n:
/var/log/messages
In order to change logging to log files, issue the following command:
# 7config log set target persistent
To change logging back to ring buffer, use the following command:
# 7config log set target buffer
The following command shows the log level and log target information:
# 7config log show
7.4 Soft and Micro Eye log
Soft and Micro Eyes utilize syslog of the OS distribution. By default, logs will appear to file
/var/log/messages.
/var/log/messages.
In order to get Eye Software debug log messages to a log file, debug logging must be enabled in syslog
configuration file.
configuration file.
Log in to Soft or Micro Eye and open file /etc/rsyslog.conf in an editor. Add rule for debug logs, e.g. after
cron log rule:
cron log rule:
# Log cron stuff
cron.* /var/log/cron
*.debug /var/log/debug
Save the file and restart rsyslog:
Soft Eye:
# service rsyslog restart
Micro Eye:
# systemctl restart rsyslog.service
In order to enable Eye Software debug logging mode, issue commands:
# 7config log set default DEBUG
# 7config run restart
7.5 Analyzer log
Analyzer is based on Tomcat so the log file is named catalina.out and is by default in directory
/<Analyzer
installation directory>/apache-tomcat-<version>/logs
.
Tool to follow the most recent logging is