Pg_log directory for postgresql in ubuntu?

I followed the instructions http://pydanny-event-notes.readthedocs.org/en/latest/DjangoConEurope2012/10-steps-to-better-postgresql-performance.html

he says to set log_directory = pg_log

where is this directory in ubuntu ?: (

+5
source share
2 answers

In the postgres data directory something like /var/lib/postgresql/9.3/main/pg_log

+9
source
 select format('%s/%s', current_setting('data_directory'), current_setting('log_directory')); 
+5
source

Source: https://habr.com/ru/post/1239115/


All Articles