PostgreSQL: Change log file location
-
16-10-2019 - |
Question
How can I change the location of the log file in PostgreSQL? Can it be done without stopping the cluster?
Solution
re 1) See the chapter "Where to log" in the manual.
You want to change the log_directory
property.
re 2) No, you need to restart Postgres when you change this.
Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange