# groonga - An open-source fulltext search engine and column store.

- 日本語

# 7.3.28. `log_level`

## 7.3.28.1. Summary

`log_level` command sets log level of Groonga.

## 7.3.28.2. Syntax

    log_level level

## 7.3.28.3. Usage

    log_level warning
    [true]

## 7.3.28.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.28.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.28.6. See also

log_put log_reopen