Postgresql: Log every query

1
2
Edit your /etc/postgresql/9.3/main/postgresql.conf, and change the lines as follows:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Use this procedure to activate log in order to log every single query on database.

Version depends on your postgres installation. This examples shows version 9.3. Change as appropiate.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.