pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Yambu <hyambu@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Log zipping
Date: Mon, 19 Jul 2021 14:51:35 +0200
Message-ID: <20210719125135.GA10466@depesz.com> (raw)
In-Reply-To: <CALhHtcDs9DoBk1PNUWjs7=eWdqCwFhuoypJdGud_3XLYP=RHaQ@mail.gmail.com>
References: <CALhHtcDs9DoBk1PNUWjs7=eWdqCwFhuoypJdGud_3XLYP=RHaQ@mail.gmail.com>

On Mon, Jul 19, 2021 at 02:39:08PM +0200, Yambu wrote:
> May i know which setting in postgresql.conf zips used log files?

There is no such setting.

You can use external tools to do it, for some cases you can use
archive_logs.sh
: https://github.com/omniti-labs/pgtreats/blob/master/tools/archive_logs.sh

Best regards,

depesz






view thread (2+ messages)

Message-ID: <20210719125135.GA10466@depesz.com>
Permalink:  ../20210719125135.GA10466@depesz.com/
Also on:    postgresql.org/message-id/20210719125135.GA10466@depesz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: depesz@depesz.com, hyambu@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Log zipping
  In-Reply-To: <20210719125135.GA10466@depesz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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