Re: Needs a link to docuementation about the server log location/configuration

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: bram(dot)mertens(at)anubex(dot)com, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Needs a link to docuementation about the server log location/configuration
Date: 2020-10-21 14:13:16
Message-ID: CAKFQuwbhshAc+Me=ZQOv3=1oE_fmNQxdNkKs_B1six-eSvaLKA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wed, Oct 21, 2020 at 6:45 AM PG Doc comments form <noreply(at)postgresql(dot)org>
wrote:

> The following documentation comment has been logged on the website:
>
> Page:
> https://www.postgresql.org/docs/11/client-authentication-problems.html
> Description:
>
> The article on authentication problems refers to "the log" and the "server
> log" but lacks information on where to find that log or how to configure
> it.
>

> https://www.postgresql.org/docs/11/runtime-config-logging.html appears to
> be
> the relevant page to link to.

This is another instance where the documentation basically assumes you have
gotten here either already knowing how your specifics system's logging
works or by following the flow of the chapter and using the default log
output, which is specified not in configuration but on the command line of
the server startup command described a couple of chapters back (v11 -
18.13.1). IOW, the configuration options are secondary ways of generating
logging data on the server while the log mentioned here and elsewhere is
the primary location (as defined on the pg_ctl command line).

I don't know that adding the link, easy as it is, is really necessary, and
if the link is added I feel that just doing this may be insufficient.

But AFAICT the default log level/configuration does not cause the messages
> described on this page to be logged. So additional information on minimal
> log configuration is required.
>

I'm doubtful, but have not investigated, that the fatal messages described
here are not being emitted by a server with default settings.

David J.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2020-10-21 14:41:05 exceptions
Previous Message David G. Johnston 2020-10-21 13:49:37 Re: Word fix