https://www.postgresql.org/docs/current/runtime-config-logging.html 2025 https://habr.com/ru/companies/postgrespro/articles/872574/ https://www.crunchydata.com/blog/postgres-logging-for-performance-optimization https://habr.com/ru/companies/otus/articles/940794/ 2022 https://sematext.com/blog/postgresql-logs/ logging_collector on log_min_duration_statement = 1000 ALTER DATABASE db SET log_min_duration_statement = ‘1000ms'; log_statement all ALTER DATABASE db SET log_statement = ‘all';