Re: BUG #3660: unused empty file is created with csvlog - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3660: unused empty file is created with csvlog
Date
Msg-id 17824.1191935839@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3660: unused empty file is created with csvlog  ("Thomas Reiss" <thomas.reiss@interieur.gouv.fr>)
List 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 by date:

Previous
From: "Thomas Reiss"
Date:
Subject: BUG #3660: unused empty file is created with csvlog
Next
From: Martin Pitt
Date:
Subject: Provide a way to not ask for a password in psql