Справочник Пользователя для 7signal INDR-EYE01
10 Command-line utility for Eye
68
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
By default, only the critical messages are logged. Currently, the supported commands
are:
are:
show
which shows the current log configuration.
set
o
level
which sets the current level of logging
o
default
which sets default level of logging at system start-up
o
target
which sets logging target, ring buffer or NAND.
Log level set by '
set level
' command remains active until restart of the system. Default
log level after installation is "ERROR".
Log levels are the following:
CRIT - Critical messages
ERROR - Error messages
WARN - Warning messages.
INFO - Informational messages.
DEBUG - Debug messages.
Log levels are cumulative, i.e. the level CRIT logs only critical messages, WARN logs all levels including
CRITICAL, ERROR and WARN messages. DEBUG logs all possible messages.
Log command group arguments:
'show' Show log configuration.
'set' command arguments:
level Set log level.
VALUE = CRIT | ERROR | WARN | INFO | DEBUG
default Set default log level. This log level will be active
when 7signal software starts.
VALUE = CRIT | ERROR | WARN | INFO | DEBUG
target Set logging target.
VALUE = buffer | persistent
'set' command arguments:
level Set log level.
VALUE = CRIT | ERROR | WARN | INFO | DEBUG
default Set default log level. This log level will be active
when 7signal software starts.
VALUE = CRIT | ERROR | WARN | INFO | DEBUG
target Set logging target.
VALUE = buffer | persistent
Examples:
Set log level to DEBUG:
Set log level to DEBUG:
# 7config log set level DEBUG
Set log level to WARN:
# 7config log set level WARN
Set default log level to ERROR:
# 7config log set default ERROR
Show default log level:
# 7config log show