From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Palle Girgensohn <girgen(at)partitur(dot)se> |
Cc: | pgsql-ports(at)postgresql(dot)org, "PostgreSQL::General List" <pgsql-general(at)postgresql(dot)org>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PORTS] Logging (was Re: PostgreSQL 7.0-2 RPMset released.) |
Date: | 2000-05-22 21:58:33 |
Message-ID: | Pine.LNX.4.21.0005222353580.392-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-announce pgsql-general pgsql-hackers pgsql-ports |
Palle Girgensohn writes:
> > > The real problem with redirecting the postmaster output is the issue
> > > of log rolling,
> I really enjoy using apache's rotatelogs program. stderr is
> redirected through a pipe to a very small and robust C program,
> rotatelogs, that takes as arguments number of seconds between
> log rotates and the log filename. Logs are rotated every
> argv[2] seconds. The rotatelogs program takes care of closing
> and reopening, and nothing has to done from the application,
> just start postmaster with '2>&1 | rotatelogs ...' at the end,
> and log to stderr.
Now there's a good idea. Why don't we abduct that program and teach pg_ctl
about it. (After all, we abducted that one as well. :)
--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden
From | Date | Subject | |
---|---|---|---|
Next Message | Roderick A. Anderson | 2000-05-22 23:13:31 | Re: [PORTS] Logging (was Re: PostgreSQL 7.0-2 RPMset released.) |
Previous Message | Palle Girgensohn | 2000-05-22 15:02:37 | Re: [PORTS] Logging (was Re: PostgreSQL 7.0-2 RPMset released.) |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-05-22 22:22:36 | Re: loading data from flat text file |
Previous Message | Voitenko, Denis | 2000-05-22 21:14:33 | loading data from flat text file |
From | Date | Subject | |
---|---|---|---|
Next Message | Murad Nayal | 2000-05-22 22:33:05 | Re: port v7.0 to SGI-IRIX-6.5.7/64 |
Previous Message | Peter Eisentraut | 2000-05-22 21:58:21 | Re: Last call for comments: fmgr rewrite [LONG] |
From | Date | Subject | |
---|---|---|---|
Next Message | Murad Nayal | 2000-05-22 22:33:05 | Re: port v7.0 to SGI-IRIX-6.5.7/64 |
Previous Message | Murad Nayal | 2000-05-22 21:28:16 | Re: port v7.0 to SGI-IRIX-6.5.7/64 |