7.3.29. log_level
¶
7.3.29.1. Summary¶
log_level
command sets log level of Groonga.
7.3.29.2. Syntax¶
log_level level
7.3.29.3. Usage¶
log_level warning
[true]
7.3.29.4. Parameters¶
level
Specify log level with a character or string which means log level.
Value
Alias
E
emerge
oremergency
A
alert
C
crit
orcritical
e
error
w
warn
orwarning
n
notice
i
info
d
debug
-
dump
Example:
emergency alert critical error warning notice info debug
7.3.29.5. Return value¶
log_level
command returns whether log level configuration is succeeded or not:
[HEADER, SUCCEEDED_OR_NOT]
HEADER
See Output format about
HEADER
.
SUCCEEDED_OR_NOT
If command succeeded, it returns true, otherwise it returns false on error.