We documented using rotatelogs in the pg_ctl manual page, and have the
main docs correct on how to use it. Hopefully that will be enough.
---------------------------------------------------------------------------
Andrew Hammond wrote:
[ PGP not available, raw data follows ]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> |>logrotate rotates log files and hups the servers according to a
> |>configuration file. rotatelogs reads the log data on stdin and reopens
> |>a new output file once in a while. The first hunk of your patch was
> |>wrong, the rest seemed OK.
> |
> |
> | OK, just to confirm, I backed out the first attached patch, but kept the
> | rest, which is my second attached patch.
>
> This looks correct to me.
>
> | I am still confused how these errors remained in the documentation for
> | so long.
>
> Probably because non-syslog logging in a production environment is a
> very small niche. Which might, unfortunately, be a good argument against
> my proposed patch.
>
> Drew
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFAqhIGgfzn5SevSpoRAvizAJ0fZRI5o1FuERzUen2ufWwCsz/J2ACghQ7B
> agaY+YaC0LIVF/jNCk+QnmA=
> =Rsjl
> -----END PGP SIGNATURE-----
>
[ End of raw data]
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073