--
You received this message because you are subscribed to the Google Groups "p6spy Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to p6spy-develope...@googlegroups.com.
To post to this group, send email to p6spy-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/p6spy-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/e4b5651a-7024-46c2-a3cc-9ecde6e2cab9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
current time|execution time|category|statement SQL String|effective SQL string
The output actually printed is:
--
You received this message because you are subscribed to a topic in the Google Groups "p6spy Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/p6spy-developers/v7399iRE7aw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to p6spy-develope...@googlegroups.com.
To post to this group, send email to p6spy-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/p6spy-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/CACdzHazM10MajKrEEXjhxs0AAmi0O2pRR%3DiRh4qs1k%2B2swS3%2Bw%40mail.gmail.com.
Thanks for the clarification.Now I am able to use the slf4j logger on top of Log4j.Just needed some more clarification:1. I am not seeing any resultset/result getting printed out,even though I have not set any filters(filter=false) OR set the excludecategories.How to get resultset printed in the latest p6spy jar?
excludecategories=info,debug,batch
2. Regarding the message format, as per the documentation on the website, I see it as:current time|execution time|category|statement SQL String|effective SQL stringThe output actually printed is:25-09-14 17:21:26:700|0|statement|connection 7|select jobtrigger0_.JobSpec_ID as JobSpec10_1404_1_, from JobTrigger jobtrigger0_ where jobtrigger0_.JobSpec_ID=84085I see in the place "statement SQL String" as connection 7. What does this field indicate?Also, is the execution time printed in seconds? Can that be changed to ms?
RegardsVivek
To unsubscribe from this group and stop receiving emails from it, send an email to p6spy-developers+unsubscribe@googlegroups.com.
To post to this group, send email to p6spy-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/p6spy-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/e4b5651a-7024-46c2-a3cc-9ecde6e2cab9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "p6spy Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/p6spy-developers/v7399iRE7aw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to p6spy-developers+unsubscribe@googlegroups.com.
To post to this group, send email to p6spy-developers@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to p6spy-develope...@googlegroups.com.
To post to this group, send email to p6spy-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/5c6be8fb-a1f2-48d1-b018-d05a1fcee177%40googlegroups.com.
Hi,I just now confirmed the issue. When I try executing the batch, only the last one in the batch is getting loggedrather than the entire list of staments in that batch. Is there a way to print all the statements which are getting executing in the same batch?RegardsVivek
On Fri, Sep 26, 2014 at 9:05 AM, Vivek S <vivek...@gmail.com> wrote:
Thanks once again for the quick update. I need some more clarification on the way the statements are logged.On a connection, if I am executing a batch of SQL commands, do all the statements get logged in the Log4J assigned log file.I had not enabled the property "autoflush = true".If I enable this, would all the statements in a SQL prepared using "java.sql.PreparedStatement.addBatch()"and executed using: java.sql.Statement.executeBatch() get logged.What I observed is that only one statement in that batch was showing up. I still need to cross check this once more.RegardsVivek
To unsubscribe from this group and all its topics, send an email to p6spy-developers+unsubscribe@googlegroups.com.
To post to this group, send email to p6spy-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/p6spy-developers.
To unsubscribe from this group and all its topics, send an email to p6spy-develope...@googlegroups.com.
To post to this group, send email to p6spy-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/8c3f409a-a1a3-496e-8eeb-c9c834a3d10a%40googlegroups.com.