Re: more contrib: log rotator
От | Andrew Sullivan |
---|---|
Тема | Re: more contrib: log rotator |
Дата | |
Msg-id | 20030403211214.GO19119@libertyrms.info обсуждение исходный текст |
Ответ на | Re: more contrib: log rotator (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On Thu, Apr 03, 2003 at 01:41:08PM -0500, Tom Lane wrote: > You would not actually have to: you could just pipe pg_ctl's output to > pglog-rotator. But I think it'd be cool if pg_ctl had an option to use > pglog-rotator, or maybe even adopt it as standard behavior. It's currently built to call a program, and read its stdout and stderr, rather than acting as a pipe. I guess it shouldn't be too hard to modify, though. We actually call the postmaster directly with it, so we use it as a replacement for pg_ctl at startup. > Andrew, could you toss up the script on pgsql-patches just so people can > take a look? Then we could think more about where to go with it. Ok, I sent it. A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <andrew@libertyrms.info> M2P 2A8 +1 416 646 3304 x110
В списке pgsql-hackers по дате отправления: