How to enable logging in Postgresql 9.2 and 9.1

In this post we will learn how to enable logging in Postgresql 9.2 and 9.1.It is a quick method to enable logging in Postgresql 9.2 and 9.1.We will do changes in postgresql.conf file. Path in Postgresql 9.1 : /etc/postgresql/9.1/main/postgresql.conf Path in Postgresql 9.2 : /etc/postgresql/9.2/main/postgresql.conf To enable the log for all queries in Postgresql,follow the … Read more