libpq and PostgreSQL NOTICEs - Mailing list pgsql-general

From Tim Barnard
Subject libpq and PostgreSQL NOTICEs
Date
Msg-id 00ea01c0ed20$117fd2e0$a519af3f@hartcomm.com
Whole thread Raw
Responses Re: libpq and PostgreSQL NOTICEs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Is there any way to force Postgre not to send NOTICEs to the console? I have an ncurses app that from time to time gets notices stating that "begin is already a transaction in progress." Now I know I need to track down where I'm issuing a "begin" twice, but I would rather Postgre log these warnings and errors to a file, rather than spewing across the screen. Does anyone know if and how to instruct Postgre to send its NOTICEs to a log file?
 
Tim
 

pgsql-general by date:

Previous
From: Martín Marqués
Date:
Subject: Re: datestyle
Next
From: Tom Lane
Date:
Subject: Re: template1, can there be a template2/3/4?