Re: BUG #6518: archive_command stderr not in log if log_destination=syslog
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #6518: archive_command stderr not in log if log_destination=syslog |
| Дата | |
| Msg-id | 23628.1330971768@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #6518: archive_command stderr not in log if log_destination=syslog (vygen@kicktipp.de) |
| Список | pgsql-bugs |
vygen@kicktipp.de writes: > The documentation for 9.1 says about archive_command: > "Any messages written to stderr from the script will appear in the database > server log, allowing complex configurations to be diagnosed easily if they > fail." > <http://www.postgresql.org/docs/9.1/static/continuous-archiving.html#BACKUP-TIPS> > This is not true if log_destination=syslog Yes, that's poorly worded --- you have to be using output to stderr for this to work as the docs claim. > Messages to sdterr does not appear at all anywhere. I prefer syslog because > of pgfouine. > Great if it can be fixed. At least this should be documented. There really isn't any way that we can force stderr output from a script to magically go to syslog. But we can at least clarify the docs, and I will go do so. Thanks for the report! regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера