interstar Asked: 2009-11-20 00:43:33 +0800 CST2009-11-20 00:43:33 +0800 CST 2009-11-20 00:43:33 +0800 CST Postgres 8.3 on Ubuntu. Where are the server logs? 772 Postgres 8.3 on Ubuntu. Where are the server logs? I'm sure there must be a standard place it puts them. logging 3 Answers Voted Best Answer chrw 2009-11-20T00:55:32+08:002009-11-20T00:55:32+08:00 Did you have a look in the /var/log directory? I assume the logs are placed in /var/log/postgresql. But you can also check the PostgreSQL configuration files for the logfile settings. Vijay Choudhary 2021-04-19T21:22:52+08:002021-04-19T21:22:52+08:00 If you enable logging from /etc/postgresql/13/main/postgresql.conf then you'll able to see logs on this directory /var/log/postgresql. William 2009-11-20T00:54:10+08:002009-11-20T00:54:10+08:00 Somewhere in /var/log would be my guess. That's the standard place for logs in Debian, which Ubuntu is derived from.
Did you have a look in the
/var/log
directory? I assume the logs are placed in/var/log/postgresql
. But you can also check the PostgreSQL configuration files for the logfile settings.If you enable logging from /etc/postgresql/13/main/postgresql.conf then you'll able to see logs on this directory /var/log/postgresql.
Somewhere in /var/log would be my guess. That's the standard place for logs in Debian, which Ubuntu is derived from.