| От | Tom Lane |
|---|---|
| Тема | Re: pg_ctl changes |
| Дата | |
| Msg-id | 11241.981584398@sss.pgh.pa.us обсуждение |
| Ответ на | pg_ctl changes (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> I've implemented the following changes in pg_ctl:
Sounds good to me.
> * Add -l option to name log file. If the option is omitted, then the
> postmaster log goes to stdout, so you can use 'pg_ctl ... > log' and still
> get pg_ctl's stderr on the terminal.
Let's see if I've got this straight --- the postmaster's stdout and
stderr go to the -l file (by default pg_ctl's stdout), while pg_ctl's
own stderr is kept separate for failure notices? That seems like it
will work ... in particular one could imagine doingpg_ctl start | log_splitter_process
to handle log rotation stuff.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера