Re: BUG #3660: unused empty file is created with csvlog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3660: unused empty file is created with csvlog
Дата
Msg-id 17824.1191935839@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3660: unused empty file is created with csvlog  ("Thomas Reiss" <thomas.reiss@interieur.gouv.fr>)
Список pgsql-bugs
"Thomas Reiss" <thomas.reiss@interieur.gouv.fr> writes:
> I set the following :
> log_destination = 'csvlog'
> logging_collector = on
> log_filename = 'postgresql-%u'

> At server start, PostgreSQL creates a file called "postgresql-2" (for today)
> and a file "postgresql-2.csv".

This is not a bug.

> File "postgresql-2" is empty and never used again, whereas
> "postgresql-2.csv" contains the logs.

The fact that you didn't observe anything being put into it doesn't
mean that will never happen.

            regards, tom lane

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

Предыдущее
От: "Thomas Reiss"
Дата:
Сообщение: BUG #3660: unused empty file is created with csvlog
Следующее
От: Martin Pitt
Дата:
Сообщение: Provide a way to not ask for a password in psql