Skip site navigation (1) Skip section navigation (2)

Re: 8.3 Logging Question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Chris Hoover" <revoohc(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org Admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: 8.3 Logging Question
Date: 2008-01-24 22:38:59
Message-ID: 16614.1201214339@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
"Chris Hoover" <revoohc(at)gmail(dot)com> writes:
> I'm running PG 8.3rc2 to start testing it out, and really like how it is
> preforming for me so far.  However, I have one question on the logging.  I
> am trying to use syslog and csvlog to log all sql.  This seems to work great
> except that for every log rotation postgres does, I get a .csv log file that
> grows and a 0 byte .log file.  Since I'm not logging to stderr, why is the
> .log file being created, and how do I turn that off?

The .log file is to catch any non-csv-format data that comes down the
pipe.  You can't turn it off.

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Chris HooverDate: 2008-01-25 00:11:59
Subject: Re: 8.3 Logging Question
Previous:From: Chris HooverDate: 2008-01-24 20:26:49
Subject: Re: 8.3 Logging Question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group