pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: Re: 8.3 Logging Question
Date: Thu, 24 Jan 2008 17:38:59 -0500
Message-ID: <16614.1201214339@sss.pgh.pa.us> (raw)
In-Reply-To: <1d219a6f0801241031p4faa7b3cr2260f97e76bc71e0@mail.gmail.com>
References: <1d219a6f0801241031p4faa7b3cr2260f97e76bc71e0@mail.gmail.com>

"Chris Hoover" <revoohc@gmail.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



view thread (6+ messages)  latest in thread

Message-ID: <16614.1201214339@sss.pgh.pa.us>
Permalink:  ../16614.1201214339@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16614.1201214339@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, revoohc@gmail.com
  Subject: Re: 8.3 Logging Question
  In-Reply-To: <16614.1201214339@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox