pgroonga ログ

postgresql.conf

pgroonga.log_level = warning
pgroonga.log_path = '/var/log/pgsql/pgroonga.log'
を設定していても
/usr/local/pgsql/data/pgroonga.log 
に
2023-10-17 12:51:39.305300|n|3005: log will be closed.
2023-10-17 12:51:39.305747|n|3005: log opened.
が出力されていたのが pgroonga 2.2.8 → 2.4.7 のアップデートで直った?

https://pgroonga.github.io/ja/news/

0.8.0: 2015-09-01
pgroonga.log_path: Added a variable that changes path for Groonga log.
incompatible: Changed the path for Groonga log to the database directory by default. You can change it by pgroonga.log_path.
pgroonga.log_type: Added a variable that changes how to log.

0.7.0: 2015-07-10
incompatible: Changed to use Groonga's default logger. Messages for PGroonga is logged to pgroonga.log in database directory instead of PostgreSQL's log path.
pgroonga.log_level: Added a variable that changes log level.

ログローテーション

https://github.com/pgroonga/pgroonga/blob/main/packages/postgresql-13-pgdg-pgroonga/debian/postgresql-13-pgdg-pgroonga.logrotate

HUPなど不要?

/usr/local/etc/newsyslog.conf.d/pgroonga.conf 
/var/log/pgsql/pgroonga.log	postgres:postgres	644  10	   *	$W6D0 JC