| От | Richard Huxton |
|---|---|
| Тема | Re: postgres log file |
| Дата | |
| Msg-id | 438C4529.1000502@archonet.com обсуждение исходный текст |
| Ответ на | postgres log file ("surabhi.ahuja" <surabhi.ahuja@iiitb.ac.in>) |
| Список | pgsql-general |
surabhi.ahuja wrote:
> hi
> I start postmaster by giving the following command
>
> /usr/bin/pg_ctl -w -l postgreslog -D $PGDATA -p /usr/bin/postmaster -o '-p ${PGPORT}' start
>
> however nothing gets looged in postgrelog.
>
> if i see postgreslog it shows me only this:
> LOG: logger shutting down
> LOG: logger shutting down
Does the PostgreSQL server process have permission to write to the file
"postgrelog" in whatever directory this is?
Normally you'd create a directory owned by user postgres (e.g.
/var/log/postgresql) and then log to a file in that directory.
--
Richard Huxton
Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера