This is a document for PGroonga 2.X and 3.X. See PGroonga 1.x document when you're using old PGroonga.

pgroonga.log_level parameter

Summary

pgroonga.log_level parameter controls which logs are recorded.

You can choose one the following log levels:

The log level list is sorted by less logs to more logs.

The default log level is notice.

Syntax

In SQL:

SET pgroonga.log_level = level;

In postgresql.conf:

pgroonga.log_level = level

level is an enum value. It means that you must choose one of them:

Usage

Here is an example to disable log:

SET pgroonga.log_level = none;

Here is an example to enable almost log messages:

SET pgroonga.log_level = debug;