The Postgres distribution in the Ubuntu repository (which most Ubuntu users are likely to run) turns off the logging collector by default. If the logging collector is off, all log data is sent to stderr (which gets picked up by systemd), regardless of any other log settings. enableConnectionLoggingReco.psql should set logging_collector to on, which ensures log data will be sent to the expected file.
The Postgres distribution in the Ubuntu repository (which most Ubuntu users are likely to run) turns off the logging collector by default. If the logging collector is off, all log data is sent to
stderr
(which gets picked up by systemd), regardless of any other log settings.enableConnectionLoggingReco.psql
should setlogging_collector
toon
, which ensures log data will be sent to the expected file.