Reputation: 1072
Where I can find startup log of of my postgres 9.1 server.
I'm using Ubuntu.
postgres restart
gets failed.
find / -name pg_log
founds nothing
standard log at /etc/postgres/main/9.1/
is clear
Upvotes: 4
Views: 18262
Reputation: 115
On ubuntu, you should find the postgresql log in
/var/log/postgresql
Upvotes: 0
Reputation: 818
In Ubuntu it is one of the files in /var/lib/postgresql/9.3/main/pg_log/
.
Upvotes: 0
Reputation: 125304
In RedHat like distributions it would be in /var/lib/pgsql/pgstartup.log
or look for the variable PGLOG
in the init script in /etc/init.d/postgresql
Upvotes: 6