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
parameterpgroonga.log_level
parameter controls which logs are recorded.
You can choose one the following log levels:
none
emergency
alert
critical
error
warning
notice
info
debug
dump
The log level list is sorted by less logs to more logs.
The default log level is notice
.
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:
none
emergency
alert
critical
error
warning
notice
info
debug
dump
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;