Re: [NOVICE] Logging
Re: [NOVICE] Logging
От:
Markus Bertheau <twanger@bluetwanger.de>
Дата:
On Fri, 2001-11-30 at 10:39, Duncan Adams (DNS) wrote: > Hi all > > I was wondering if there is any way to track/log what sql commands have been > send to the postgres database from an external source. For example, from a > PHP/pearl script. > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) if the corresponding configuration options in postgresql.conf (esp. debug_print_query) are enabled, the postmaster outputs log messages on std output. You can redirect these into a log file. Markus Bertheau