pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Log zipping
2+ messages / 2 participants
[nested] [flat]

* Log zipping
@ 2021-07-19 12:39  Yambu <hyambu@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Yambu @ 2021-07-19 12:39 UTC (permalink / raw)
  To: Pgsql-admin <pgsql-admin@lists.postgresql.org>

Hello

May i know which setting in postgresql.conf zips used log files?

regards

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

* Re: Log zipping
@ 2021-07-19 12:51  hubert depesz lubaczewski <depesz@depesz.com>
  parent: Yambu <hyambu@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: hubert depesz lubaczewski @ 2021-07-19 12:51 UTC (permalink / raw)
  To: Yambu <hyambu@gmail.com>; +Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>

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






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


end of thread, other threads:[~2021-07-19 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 12:39 Log zipping Yambu <hyambu@gmail.com>
2021-07-19 12:51 ` hubert depesz lubaczewski <depesz@depesz.com>

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