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

pgroonga.log_path parameter


pgroonga.log_path parameter controls log path.

This parameter is only effective when pgroonga.log_type parameter is file.

The default value is $PGDATA/pgroonga.log.

You can disable log output by specifying none as path.



SET pgroonga.log_path = path;

In postgresql.conf:

pgroonga.log_path = path

path is a string value. It means that you need to quote path value such as '/var/log/pgroonga.log'.

PGroonga outputs log to path.


Here is an example to output log to /var/log/pgroonga.log:

SET pgroonga.log_path = '/var/log/pgroonga.log';

Here is an example to disable log:

SET pgroonga.log_path = 'none';

See also