Information
PostgreSQL supports several methods for logging server messages, including stderr, csvlog and syslog. On Windows, eventlog is also supported. One or more of these destinations should be set for server log output.
Rationale:
If log_destination is not set, then any log messages generated by the core PostgreSQL processes will be lost.
Solution
Execute the following SQL statement(s) to remediate this setting (in this example, setting the log destination to csvlog):
postgres=# alter system set log_destination = 'csvlog';
ALTER SYSTEM
postgres=# select pg_reload_conf();
pg_reload_conf
----------------
t
(1 row)
Note: If more than one log destination is to be used, set this parameter to a list of desired log destinations separated by commas (e.g. 'csvlog, stderr').
Default Value:
stderr