<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sql query debug in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294109#M247239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The wiki page is outdated. Please refer to the actual P6Spy documentation that corresponds to your version of P6Spy. The contents for the configuration file have changed a lot since the wiki page was written.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2016 09:17:09 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2016-04-20T09:17:09Z</dc:date>
    <item>
      <title>sql query debug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294106#M247236</link>
      <description>Does Alfresco allow for debugging all queries?I tried adding the following to Alfresco log4j.properties:log4j.logger.com.ibatis=DEBUGlog4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUGlog4j.logger.com.ibatis.common.jdbc.ScriptRunner=DEBUGlog4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClient</description>
      <pubDate>Mon, 18 Apr 2016 20:30:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294106#M247236</guid>
      <dc:creator>darminm</dc:creator>
      <dc:date>2016-04-18T20:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: sql query debug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294107#M247237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Full JDBC logging is only possible by using a special JDBC driver wrapper that enables you to capture every statement. This could be achieved by using &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://p6spy.github.io/p6spy/2.0/install.html" rel="nofollow noopener noreferrer"&gt;https://p6spy.github.io/p6spy/2.0/install.html&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;P6Spy&amp;lt;/a&amp;gt; which I regularly use for any low-level logging needs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 08:01:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294107#M247237</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-04-19T08:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: sql query debug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294108#M247238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to do that per &lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Driver-side_DB_Query_Profiling" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Driver-side_DB_Query_Profiling&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;however I get no log.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco 5.0.2 enterprise&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;p6spy.jar (v2.2.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sqljdbc42.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;### spy.properties in tomcat/shared/classes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;module.log=com.p6spy.engine.logging.P6LogFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;realdriver=com.microsoft.sqlserver.jdbc.SQLServerDriver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;autoflush=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;excludecategories=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;appender=com.p6spy.engine.logging.appender.FileLogger&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;logfile=D:\Alfresco\tomcat\logs\logsspy.log&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;deregisterdrivers=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;### alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#db.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.driver=com.p6spy.engine.spy.P6SpyDriver&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco starts up fine… &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 21:20:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294108#M247238</guid>
      <dc:creator>darminm</dc:creator>
      <dc:date>2016-04-19T21:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: sql query debug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294109#M247239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The wiki page is outdated. Please refer to the actual P6Spy documentation that corresponds to your version of P6Spy. The contents for the configuration file have changed a lot since the wiki page was written.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 09:17:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294109#M247239</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-04-20T09:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: sql query debug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294110#M247240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I needed to modify both db.driver and db.url to get P6 log:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;### database connection properties ###&lt;BR /&gt;#db.driver=org.postgresql.Driver&lt;BR /&gt;db.driver=com.p6spy.engine.spy.P6SpyDriver&lt;BR /&gt;db.username=alfresco&lt;BR /&gt;db.password=*****&lt;/P&gt;&lt;P&gt;db.name=alfresco&lt;BR /&gt;#db.url=jdbc&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ostgresql://localhost:5432/${db.name}&lt;BR /&gt;db.url=jdbc&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;6spy&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ostgresql://localhost:5432/${db.name}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2018 16:25:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294110#M247240</guid>
      <dc:creator>vincent-kali</dc:creator>
      <dc:date>2018-01-01T16:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: sql query debug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294111#M247241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following is the most up to date blog post on the topic that I know about:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.ziaconsulting.com/developer-help/setting-p6spy-alfresco/" title="https://www.ziaconsulting.com/developer-help/setting-p6spy-alfresco/" rel="nofollow noopener noreferrer"&gt;https://www.ziaconsulting.com/developer-help/setting-p6spy-alfresco/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 17:07:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sql-query-debug/m-p/294111#M247241</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-01-04T17:07:20Z</dc:date>
    </item>
  </channel>
</rss>

