I\'m running Postgres 9.1 (Homebrew installation on Mac OSX) and I\'d like to monitor my postgres server more closely.
My question relates to logs. I\'d like to get
You could watch the log with the command:
tail -f /usr/local/var/postgres/server.log
I was able to find the logs in:
less /var/log/postgresql/postgresql-10-main.log
using ubuntu 18.04 with postgresql version: 10
ubuntu 18.04
postgresql version: 10