Re: rotate sql.log

Поиск
Список
Период
Сортировка
От Laurent Duperval
Тема Re: rotate sql.log
Дата
Msg-id 20010518122526.A7CA3468AE@lenard.microcelli5.com
обсуждение исходный текст
Ответ на rotate sql.log  (Martín Marqués <martin@bugs.unl.edu.ar>)
Список pgsql-general
On 17 May, Martín Marqués wrote:
> I have a log rotator (script in ksh) and want to rotate postgres log file.
> How does Postgres log? Through syslog? Or independently?
>
> Saludos... :-)
>

Depends on how you built it and how it's configured at run time. If it was
built with syslog facilities *and* you started it with the syslog option,
it'll log to syslog. If in your invocation of pg_ctl you said to log into a
file, it'll logg into that file. Otherwise, it logs to stdout (stderr?).

L

--
Laurent Duperval <mailto:lduperval@microcelli5.com>

Bref. L'affreuse déception pour mes auditeurs. Les malheureux. Sevrés du
suc de ma pensée. Soyons brave.
                                             -Achille Talon


В списке pgsql-general по дате отправления:

Предыдущее
От: Alejandro Fernandez
Дата:
Сообщение: Re: Web Hosting That Supports PostgreSQL
Следующее
От: "Laurent Duperval"
Дата:
Сообщение: CVS, initdb and catalog version