Re: How to log to postgresql.log

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to log to postgresql.log
Дата
Msg-id 14895.1233278182@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to log to postgresql.log  (A B <gentosaker@gmail.com>)
Список pgsql-novice
A B <gentosaker@gmail.com> writes:
> But I get  files
> postgresql.log.1233263415
> postgresql.log.1233263531

That's what it's defined to do when you set log_filename to a constant.
The expected use pattern involves putting some strftime percent-escapes
into the log_filename pattern.  See the examples in the 'where to log'
section of the manual (look under log_truncate_on_rotation in
particular).

            regards, tom lane

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

Предыдущее
От: Bob McConnell
Дата:
Сообщение: Re: REALLY stupid question
Следующее
От: Raimon Fernandez
Дата:
Сообщение: boot on Debian with /etc/init.d/rc ...