The following bug has been logged online:
Bug reference: 1531
Logged by: Markus Bertheau
Email address: [EMAIL PROTECTED]
PostgreSQL version: 8.0.1
Operating system: Linux FC3
Description: rotated log truncation broken
Details:
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.
You probably want to look at the "anacron" package - should be installed by default. Designed for just this sort of thing.
You should find if you log to syslog it's already rotating those files.
-- Richard Huxton Archonet Ltd
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])