Re: Postgres 9.6.2 and pg_log

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Mark Watson <mark(dot)watson(at)jurisconcept(dot)ca>
Cc: "(pgsql-general(at)postgresql(dot)org)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres 9.6.2 and pg_log
Date: 2017-04-24 18:18:21
Message-ID: CAKFQuwbVkhmNoO74Y-TG=xrUKFH_wRquZmqDihjpmNGbqqUhHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Apr 24, 2017 at 10:58 AM, Mark Watson <mark(dot)watson(at)jurisconcept(dot)ca>
wrote:

>
> The lines log_rotation_age and log_rotation_size are commented, and
> currently are:
>
> #log_rotation_age = 1d # Automatic
> rotation of logfiles will
>
>
> # happen after that time. 0 disables.
>
> #log_rotation_size = 10MB # Automatic rotation of
> logfiles will
>
>
> # happen after that much log output.
>
>
> # 0 disables.
>
>
>
>
>
> I see from your reference article that the log_rotation_age is now in
> minutes, and I will adjust that to 1440 (1 day). I don’t know where the
> “1d” came from. I know it used to be like this in earlier versions.
>
>
>
​Those are fine: See "Numeric with Unit" @​

​https://www.postgresql.org/docs/9.6/static/config-setting.html

​I think the actual missing, and (just checked) defaulted off, parameter is
"logging_collector"

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Watson 2017-04-24 18:27:32 Re: Postgres 9.6.2 and pg_log
Previous Message Edmundo Robles 2017-04-24 18:15:24 changing type of column on partitionated table.