| От | Tom Lane |
|---|---|
| Тема | Re: how to find log |
| Дата | |
| Msg-id | 383308.1608481860@sss.pgh.pa.us обсуждение |
| Ответ на | how to find log (Dmitry Markman <dmarkman@mac.com>) |
| Ответы |
Re: how to find log
|
| Список | pgsql-hackers |
Dmitry Markman <dmarkman@mac.com> writes: > suppose I started the server with the following command > pg_ctl -D . . . start -l <logfilename> > is there a way to get <logfilename> later by sending some query to the server or No, the server has no way to know where its stdout/stderr were pointed to. You might want to enable the syslogger output method (see logging_collector) to have something a bit more featureful. https://www.postgresql.org/docs/current/runtime-config-logging.html regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера