Re: log rotation script for server output
От | Medi Montaseri |
---|---|
Тема | Re: log rotation script for server output |
Дата | |
Msg-id | 3E811B91.4090109@intransa.com обсуждение исходный текст |
Ответ на | log rotation script for server output (Flower Sun <sun_2002_flower@yahoo.com>) |
Список | pgsql-general |
I use logrotate-3.6.5-2.rpm on a red hat with the following config file /var/log/pglog { rotate 2 size=1M copytruncate delaycompress compress } Just to show how flexiable this logrotator is... But the official word is that let syslog handle it.... Bruno Wolff III wrote: >On Tue, Mar 25, 2003 at 12:32:53 -0800, > Flower Sun <sun_2002_flower@yahoo.com> wrote: > > >>Hi, group, >> >>Does any one of you write log rotation script for postgresql server output? Can you share with us? >> >>shell> pg_ctl start -D /var/lib/pgsql/data -l /var/lib/pgsql/logfiles/activity.log -o -i >> >> > >You can pipe the output into multilog (from DJB's daemontools package). > > >---------------------------(end of broadcast)--------------------------- >TIP 3: if posting/reading through Usenet, please send an appropriate >subscribe-nomail command to majordomo@postgresql.org so that your >message can get through to the mailing list cleanly > >
В списке pgsql-general по дате отправления: