On 2016-06-18 07:26, Aravind Kumar wrote:
> Hi,
>
> I am an application developer, I would like to watch the live logs of
> queries to postgres. This would would be of great help for debugging.
>
> Thanks
>
> Aravind.
Hi Aravind,
I had that same problem & ended up writing a little application that
reads the logs & displays them in a gui. Source at bitbucket.
http://www.xentu.com/pgprofiler/
The way I had to do it seems awkward, however I don't think postgresql
offers any better way of writing a tool like mssql's profiler.
Am happy to be proved wrong!
Richard