Home > Archive > PostgreSQL JDBC > November 2005 > Log the sql query ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Log the sql query ?
TNO

2005-11-25, 7:24 am

Hello,

Is there a simple way to log only the query and not the resultset ?

thanks


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Jaime Casanova

2005-11-25, 9:24 am

On 11/25/05, TNO <tnodev@free.fr> wrote:
> Hello,
>
> Is there a simple way to log only the query and not the resultset ?
>
> thanks
>
>


Yes. In the postgresql.conf edit the section "What to log?" it's very clear


--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com