severely wierd problem & PgSQL log analyzer

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: severely wierd problem & PgSQL log analyzer
Date: 2010-03-01 15:31:15
Message-ID: 201003011731.15724.achill@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-jdbc

Hi,
i am facing a very wierd situation, a piece of java code seems correct, however *some* times a connection instead of being rollbacked gets commited.
(which has driven me nuts). So what i did, is replicate the problem with full logging enabled from java, in order to know at any point
in the code against which postgres pid backend i am running against.
At the same time i had full logging enabled in postgresql 8.3 and i tried to trace the exact backend which resulted in commit.
(i try to replicate the problem by hitting the reload button in firefox).
However that gives me about over 160 instances of the program, making difficult to put together all those sessions from the logs,
and it seems i cannot see whats happening unless i have a handy tool that can extract info from the logs and present it in a human way.

Any suggestions for a good pgsql log analyzer? i am currently struggling with http://pgfouine.projects.postgresql.org/tutorial.html
(having failed with http://bucardo.org/wiki/Pgsi which wants only syslog)
--
Achilleas Mantzios

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andrzej Angowski 2010-03-01 18:09:15 Re: LATIN2 encoding and Polish_Poland locale
Previous Message Jan-Peter Seifert 2010-03-01 13:49:21 Re: LATIN2 encoding and Polish_Poland locale

Browse pgsql-jdbc by date

  From Date Subject
Next Message Achilleas Mantzios 2010-03-02 14:29:06 Very Dangerous bug in XA connection pooling and SL EJBs with jboss-4.2.3 & latest postgresql-8.4-701.jdbc3.jar
Previous Message Lew 2010-02-28 01:35:30 Re: path and classpath settings