I would like to take a look at the PostgreSQL log files to see what my app writes to them but I can't find them.
Any ideas?
On OSX Homebrew installation the log can be found at:
/usr/local/var/log/postgres.log
or for older version of postgres (< 9.6)
/usr/local/var/postgres/server.log
2.1m questions
2.1m answers
60 comments
57.0k users