Re: VACUUM VERBOSE output to STDERR

Поиск
Список
Период
Сортировка
От Francis GUDIN
Тема Re: VACUUM VERBOSE output to STDERR
Дата
Msg-id 20060811181048.435f2076@pc07.cri.cur-archamps.fr
обсуждение исходный текст
Ответ на Re: VACUUM VERBOSE output to STDERR  (John Purser <jmpurser@gmail.com>)
Ответы Re: VACUUM VERBOSE output to STDERR
Список pgsql-general
On Fri, 11 Aug 2006 08:05:44 -0700
John Purser <jmpurser@gmail.com> wrote:

> Take a look at the "tee" command that takes stdin and writes it to
> stdout AND a file.  If I understand you correctly you DO want to keep
> stdout and stderr as two separate streams, write (at least) std err to
> a log file, but have the error messages e-mailed to you as part of
> your cron job. <snip>

Thanks for your suggestion, but my concern is more about vacuum's
behaviour, in fact:
those messages are purely /informative/ and get sent to STDERR.
This seems wrong to me: 'mundane' activity should be output to STDOUT and
'exceptional conditions' deserve the special fd, don't they ?

Francis

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Roman Neuhauser
Дата:
Сообщение: Re: Tuning to speed select
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: How to use the full text index feature on PostgreSQL