pgconfigurator
pgconfigurator

logging_collector

Requires a restartboolean (on/off)

Runs a dedicated process that captures stderr and rotates log files.

What it does

With logging_collector on, PostgreSQL spawns a background process that captures stderr and writes it to files under log_directory, applying log_rotation_age / log_rotation_size. csvlog and jsonlog destinations require it.

How to tune it

Turn it on for production servers that manage their own log files. Containerized / systemd setups sometimes leave it off and let the platform capture stderr — fine if your log shipper handles rotation. Changing it needs a restart.

Related parameters