| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Markus Bertheau" <twanger(at)bluetwanger(dot)de> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #1531: rotated log truncation broken |
| Date: | 2005-03-08 15:32:46 |
| Message-ID: | 6290.1110295966@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
"Markus Bertheau" <twanger(at)bluetwanger(dot)de> writes:
> The log truncation is broken for me. It works as advertised, and I follow
> the argumentation behind it, but for my scenario it is not working:
> I use the computer only in work hours; it's shut down in the night.
> I use the standard log rotation thing that is set up in the RPM distributed
> by the PGDG.
> My logs are not truncated because postgres was not running when the time
> based rotation occurs.
An easy answer is to change the log filename pattern so that rotation
happens hourly instead of daily. The setup created by the RPM is only
a useful default; it's not intended to be the perfect answer for everyone.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gill, Jerry T. | 2005-03-08 16:41:53 | Re: BUG #1528: Rows returned that should be excluded by WHERE clause |
| Previous Message | Robert Treat | 2005-03-08 13:28:39 | Re: [pgsql-www] Likely typo in FAQ_DEV.html |