| От | Andreas Pflug |
|---|---|
| Тема | Re: serverlog function (log_destination file) |
| Дата | |
| Msg-id | 40C44B73.7050802@pse-consulting.de обсуждение исходный текст |
| Ответ на | Re: serverlog function (Andreas Pflug <pgadmin@pse-consulting.de>) |
| Ответы |
Re: serverlog function (log_destination file)
|
| Список | pgsql-hackers |
Andreas Pflug wrote: > Tom Lane wrote: > >> Andreas Pflug <pgadmin@pse-consulting.de> writes: >> >> >>> For adminstrator's convenience, I'd like to see a function that >>> returns the serverlog. >>> >> >> >> What do you mean by "returns the serverlog"? Are you going to magically >> recover data that has gone to stderr or the syslogd daemon? > Hm, what I missed is that pg_ctl's -l parameter converts to a simple stderr redirection, and it's hardly possible to find out where it's going. This could be solved by a file log_destination option or a freopen(...,stderr) from a guc variable. Regards, Andreas
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера