I followed instruction on

it says to set log_directory = pg_log

where's that directory in ubuntu? :(

2 Answers

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

1

The query gives you the actual log directory in any operating system.

select format('%s/%s', current_setting('data_directory'), current_setting('log_directory')); 
0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.