pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stef <svb@ucs.co.za>
To: pgsql-admin@postgresql.org
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Fw: postgres logging
Date: Fri, 23 Jan 2004 14:18:53 +0200
Message-ID: <20040123141853.3c6457ef.svb@ucs.co.za> (raw)

Hi all, 

I've switched on  log_statement in postgresql.conf 
for debugging purposes. I tried logging connections
and pids as well, but I need to match up the logged statements 
to specific connections. 

The postmaster logs to a separate log file, but at the moment
it's impossible to tell which sql comes from which connection.
Is there an easy way to accomplish this?

Kind Regards
Stefan

Attachments:

  00000009.mimetmp (application/pgp-signature, 308B) download

view thread (2+ messages)  latest in thread

Message-ID: <20040123141853.3c6457ef.svb@ucs.co.za>
Permalink:  ../20040123141853.3c6457ef.svb@ucs.co.za/
Also on:    postgresql.org/message-id/20040123141853.3c6457ef.svb@ucs.co.za

 · 

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-sql@postgresql.org
  Cc: svb@ucs.co.za, pgsql-admin@postgresql.org
  Subject: Re: Fw: postgres logging
  In-Reply-To: <20040123141853.3c6457ef.svb@ucs.co.za>

* 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