Справочник Пользователя для 7signal INDR-EYE01

Скачать
Страница из 92
7 Log Settings 
58 
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
G
u
id
e R
ele
as
e 5
.0
 
7 LOG SETTINGS 
 
All 7signal Sapphire elements have logging capability. 
7.1 Carat server log 
The log file - server.log - is located in 
/opt/7signal/Carat/7signal
. The directory contains older log files as 
well named server.log.* where by default the asterisk (*) is in range of 1..5. Altogether, there is one active 
log file named server.log and five files for circulating the files. The oldest logs do get overwritten. 
 
To check the latest logs one should issue the following command: 
 
7carat log  
 
For continuous real-time logging: 
 
7carat log -f 
 
The Carat log level can be checked or changed by using 
loglevel
 command of 7carat tool (for example, 
from INFO to DEBUG which produces much more detailed information): 
 
# 7carat loglevel show 
 
# 7carat loglevel set DEBUG 
 
Notice that Carat server has to be restarted in order to take the changed log level into use. 
7.2 Carat GUI log 
In Windows XP by default the log file - client.log - is located in folder  
 
\Program Files\7signal Sapphire Carat Client\7signal 
 
In Windows 7 by default the log file - client.log - is located in folder  
 
\Users\user_name\AppData\Roaming\7signal\logs 
 
In Linux the log file - client.log - is located in start-
up folder (if launched from desktop icon, user’s home 
directory). 
7.3 Eye log 
NOTE: as this is Eye logging, all the commands are to be given in the prompt of the 
monitoring station, not in Carat or Sonar server. 
The Eye unit has an in-memory circular log that can be followed real-time with the following command: 
 
 
logread -f