7.3.30. log_level#

7.3.30.1. Summary#

log_level command sets log level of Groonga.

7.3.30.2. Syntax#

log_level level

7.3.30.3. Usage#

log_level warning
[true]

7.3.30.4. Parameters#

level

Specify log level with a character or string which means log level.

Value

Alias

E

emerge or emergency

A

alert

C

crit or critical

e

error

w

warn or warning

n

notice

i

info

d

debug

-

dump

Example:

emergency
alert
critical
error
warning
notice
info
debug

7.3.30.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.

7.3.30.6. See also#

log_put log_reopen