Type of Logs in PostgreSQL
pg_log $PGDATA/pg_log is the default location for the database activity logs, which include error messages, query logging, and startup/shutdown messages. This is where you should first look for information when PostgreSQL…