Re: hba load error and silent mode

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: hba load error and silent mode
Date: 2009-08-24 14:11:02
Message-ID: 4A929F76.1070803@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander wrote:
>> (Maybe there's a good case for deprecating silent mode. I'm not sure why
>> Suse uses it. Other distros don't seem to feel the need.)
>>
>
> Could be, but even with silent_mode=off that would be a problem, no?
> as in, the log wouldn't go where you'd expect it to go.
>
>

It would go to stderr, and then I would have seen it. Silent mode
apparently sends stderr to the bit bucket until the syslogger is set up.
I found where the error was by running postmaster under strace, but
that's really rather icky.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua Tolley 2009-08-24 14:21:38 Re: hba load error and silent mode
Previous Message David Fetter 2009-08-24 14:07:13 Re: Slaying the HYPOTamus