How can I change the location of the log file in PostgreSQL? Can it be done without stopping the cluster?
1 Answer
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.