pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #9251: default values for fatal error logging in service
3+ messages / 3 participants
[nested] [flat]

* BUG #9251: default values for fatal error logging in service
@ 2014-02-17 04:00 krichter722@aol.de
  2014-02-17 04:19 ` Re: BUG #9251: default values for fatal error logging in service Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: krichter722@aol.de @ 2014-02-17 04:00 UTC (permalink / raw)
  To: 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 :)


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #9251: default values for fatal error logging in service
  2014-02-17 04:00 BUG #9251: default values for fatal error logging in service krichter722@aol.de
@ 2014-02-17 04:19 ` Tom Lane <tgl@sss.pgh.pa.us>
  2014-02-17 05:59   ` Re: BUG #9251: default values for fatal error logging in service Karl-Philipp Richter <krichter722@aol.de>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2014-02-17 04:19 UTC (permalink / raw)
  To: krichter722@aol.de; +Cc: pgsql-bugs

krichter722@aol.de writes:
> 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>.

This is a packaging problem which you should take up with the Debian
folk.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #9251: default values for fatal error logging in service
  2014-02-17 04:00 BUG #9251: default values for fatal error logging in service krichter722@aol.de
  2014-02-17 04:19 ` Re: BUG #9251: default values for fatal error logging in service Tom Lane <tgl@sss.pgh.pa.us>
@ 2014-02-17 05:59   ` Karl-Philipp Richter <krichter722@aol.de>
  0 siblings, 0 replies; 3+ messages in thread

From: Karl-Philipp Richter @ 2014-02-17 05:59 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs

I will do that. Thanks for the hint :)

On 17.02.2014 05:19, Tom Lane wrote:
> krichter722@aol.de writes:
>> 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>.
> 
> This is a packaging problem which you should take up with the Debian
> folk.
> 
> 			regards, tom lane
> 

Attachments:

  signature.asc (application/pgp-signature, 554B) download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-02-17 05:59 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-02-17 04:00 BUG #9251: default values for fatal error logging in service krichter722@aol.de
2014-02-17 04:19 ` Tom Lane <tgl@sss.pgh.pa.us>
2014-02-17 05:59   ` Karl-Philipp Richter <krichter722@aol.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox