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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thomas Reiss" <thomas(dot)reiss(at)interieur(dot)gouv(dot)fr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3660: unused empty file is created with csvlog
Date: 2007-10-09 13:17:19
Message-ID: 17824.1191935839@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Thomas Reiss" <thomas(dot)reiss(at)interieur(dot)gouv(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Martin Pitt 2007-10-09 13:56:33 Provide a way to not ask for a password in psql
Previous Message Thomas Reiss 2007-10-09 11:53:17 BUG #3660: unused empty file is created with csvlog