pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPG 8.1 log rotation
2+ messages / 2 participants
[nested] [flat]
* PG 8.1 log rotation
@ 2006-05-11 18:53 Chris Hoover <revoohc@gmail.com>
2006-05-12 00:22 ` Re: PG 8.1 log rotation Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Chris Hoover @ 2006-05-11 18:53 UTC (permalink / raw)
To: pgsql-admin
Question,
Can you set both the log_rotation_age and log_rotation_size? If so, does
either one have presidence over the other? I would like to have both on and
am hoping that you will tell me that they work together.
So, if log_rotation_age = 1440, and log_rotation_size = 1048576 then my log
will be rotated each time the log hits 1GB and also at the end of the day.
Thanks,
Chris
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: PG 8.1 log rotation
2006-05-11 18:53 PG 8.1 log rotation Chris Hoover <revoohc@gmail.com>
@ 2006-05-12 00:22 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2006-05-12 00:22 UTC (permalink / raw)
To: Chris Hoover <revoohc@gmail.com>; +Cc: pgsql-admin
"Chris Hoover" <revoohc@gmail.com> writes:
> Can you set both the log_rotation_age and log_rotation_size?
Sure. It'll rotate whenever either limit is reached.
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-05-12 00:22 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-11 18:53 PG 8.1 log rotation Chris Hoover <revoohc@gmail.com>
2006-05-12 00:22 ` Tom Lane <tgl@sss.pgh.pa.us>
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