Skip site navigation (1) Skip section navigation (2)

move log_directory from pg_log to other directory (out of postgresql folder)

From: Amir Sehan <ean_ibnisaid(at)yahoo(dot)com>
To: "pgsql-students(at)postgresql(dot)org" <pgsql-students(at)postgresql(dot)org>
Subject: move log_directory from pg_log to other directory (out of postgresql folder)
Date: 2012-07-23 01:57:45
Message-ID: 1343008665.66092.YahooMailNeo@web121402.mail.ne1.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-students
Hi,

I have a issue who i can't solve until now.
I want move default log_directory.
I run my postgresql on windows 32 bit.

Supposed i want to change value of log_directory in postgresql.conf,
from
log_directory='pg_log'
to
log_directory='D:\folder1\folder2\folder3'

How to do it?
Please, help me solve this issue.

Thanks a lot,
Amir Sehan

pgsql-students by date

Next:From: Akansha SinghDate: 2012-12-22 06:19:04
Subject: Apply for GSoc
Previous:From: Josh BerkusDate: 2012-07-09 19:34:15
Subject: Reminder: Midterms must be filled out *this week*

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group