BUG #9251: default values for fatal error logging in service

Поиск
Список
Период
Сортировка
От krichter722@aol.de
Тема BUG #9251: default values for fatal error logging in service
Дата
Msg-id 20140217040035.24616.96063@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #9251: default values for fatal error logging in service  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      9251
Logged by:          Karl Richter
Email address:      krichter722@aol.de
PostgreSQL version: 9.3.1
Operating system:   Ubuntu 13.10 on Linux 3.11
Description:

The logging of fatal errors when running postgresql as a service on debian
based systems, like Ubuntu, has a wrong default value. Without going into
details of the underlying error, I'll just give the following example:
invoking <code>sudo service postgresql start</code> gives the output
<output>Error: Invalid data directory</code>. The default value for such
fatal errors should be set to a higher verbosity so that detailed
information and instructions about the error in the data directory (I assume
that pgsql has such function) are logged to stdout (which should also become
the default setting for logging output when starting pgsql as service).
There's no advantage in letting the user search for log output in numerous
of files and going through pages and pages of logging docs. The potential
use for contradictory use case which is to provide no information at all
after a fatal error is fairly small :)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #8540: Avoid sscanf buffer overflow
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #9251: default values for fatal error logging in service