Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Postgres Query Logging for Windows

Tags:

People also ask

Where are Postgres logs Windows?

Summary. The PostgreSQL database normally logs all events like sartup/shutdown, errors, connection issues, and so on to its own log file, located in C:\ACL\App\pgsql9x\data\pg_log.


I have an application which is based on a Postgres database and I need to be able to examine the requests the application sends of the database.

I want to have Postgres log all of the queries it receives somewhere that I can examine them in order to rebuild some of its functionality in another application.

Can someone recommend a simple way to logging the queries Postgres receives in a Windows operating system?

Thanks, Craig