Re: About logging

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: arvindwill(at)gmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: About logging
Date: 2009-09-24 19:09:05
Message-ID: 9837222c0909241209oe7bb3d7tc505e7415719eb45@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Sep 24, 2009 at 21:06, <arvindwill(at)gmail(dot)com> wrote:
> Is it possible to log two different information to two different file.
> Bascially i need to log all the mod statement in one log csv file and all
> the queries running more then 2mins in another csv log file. As i enabled
> both it will be doing both in single file rt . Is there any way to split
> both???

This is not currently possible inside PostgreSQL, you will need to do
external post-processing of the logfile to get that.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-09-24 19:17:42 Re: Partitioned table question
Previous Message arvindwill 2009-09-24 19:06:18 About logging