<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Piraguablog</title>
	<atom:link href="http://www.piragua.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piragua.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 21 Jun 2010 07:16:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Grails Dependency Management – Setting the Ivy Proxy by Peter Ledbrook</title>
		<link>http://www.piragua.com/2010/06/18/grails-dependency-management-%e2%80%93-setting-the-ivy-proxy/comment-page-1/#comment-70</link>
		<dc:creator>Peter Ledbrook</dc:creator>
		<pubDate>Mon, 21 Jun 2010 07:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.piragua.com/?p=63#comment-70</guid>
		<description>This is fixed in Grails 1.3.2. Also, extra commands were added to make it easy to enable and disable the proxy: add-proxy, remove-proxy, and clear-proxy. The first two deal with named proxy settings (so you can have multiple proxies configured), as does set-proxy now:

    grails set-proxy work</description>
		<content:encoded><![CDATA[<p>This is fixed in Grails 1.3.2. Also, extra commands were added to make it easy to enable and disable the proxy: add-proxy, remove-proxy, and clear-proxy. The first two deal with named proxy settings (so you can have multiple proxies configured), as does set-proxy now:</p>
<p>    grails set-proxy work</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Building Grails Apps with SVN and Hudson and fighting with application.properties by j pimmel</title>
		<link>http://www.piragua.com/2010/01/27/building-grails-apps-with-svn-and-hudson-and-fighting-with-application-properties/comment-page-1/#comment-68</link>
		<dc:creator>j pimmel</dc:creator>
		<pubDate>Thu, 28 Jan 2010 06:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.piragua.com/?p=40#comment-68</guid>
		<description>Interesting Mike... We&#039;ve been having some similarly odd issues regarding the grails-app/il8n/messages.properties file.. it get zero-byted by some part of the grails process after initial checkout, so we have a similar shell step in most of our Hudson builds (we stopped using update) where we revert that

svn revert grails/il8n/messages.properties</description>
		<content:encoded><![CDATA[<p>Interesting Mike&#8230; We&#8217;ve been having some similarly odd issues regarding the grails-app/il8n/messages.properties file.. it get zero-byted by some part of the grails process after initial checkout, so we have a similar shell step in most of our Hudson builds (we stopped using update) where we revert that</p>
<p>svn revert grails/il8n/messages.properties</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Grails Code Coverage Plugin 1.1.4 Released! by Ravi Hasija</title>
		<link>http://www.piragua.com/2009/03/05/code-coverage-upgrade/comment-page-1/#comment-67</link>
		<dc:creator>Ravi Hasija</dc:creator>
		<pubDate>Sat, 24 Oct 2009 22:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.piragua.com/?p=34#comment-67</guid>
		<description>Fantastic work guys!!! Great.

I have a question though: 

I have a Category class that references itself as a one to many. I have two integration test files. One to test static constraints and one to test the relationship.

Anyway, when I run the test I am getting code coverage for static constraints (as a separate Class file Category$__clinit__closure1) and those lines show up green in the html report, but the lines where hasMany and belongsTo relationship is defined, the code does not show up as green, even though the report shows 100% coverage.

Could you please share your comment. I am new to Grails, so I might be missing something.</description>
		<content:encoded><![CDATA[<p>Fantastic work guys!!! Great.</p>
<p>I have a question though: </p>
<p>I have a Category class that references itself as a one to many. I have two integration test files. One to test static constraints and one to test the relationship.</p>
<p>Anyway, when I run the test I am getting code coverage for static constraints (as a separate Class file Category$__clinit__closure1) and those lines show up green in the html report, but the lines where hasMany and belongsTo relationship is defined, the code does not show up as green, even though the report shows 100% coverage.</p>
<p>Could you please share your comment. I am new to Grails, so I might be missing something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Grails, p6spy and Sql Profiler by j pimmel</title>
		<link>http://www.piragua.com/2009/06/17/grails-p6spy-and-sql-profiler/comment-page-1/#comment-66</link>
		<dc:creator>j pimmel</dc:creator>
		<pubDate>Thu, 08 Oct 2009 21:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.piragua.com/?p=35#comment-66</guid>
		<description>I&#039;m trying to get this working in 1.2 and having no luck with the logging output. 

The P6Spy shows green and i get the 3 init messages, driverManager; registeredDriver and reloadProperties.

I have logSql=true in my datasource and am seeing the HSQl dumping to console as i use the app. No SQL statements of further logging appears in P6SPy app os spy.log (they never have)

I followed you examples exactly as above - here is my spy.properties

realdriver=com.mysql.jdbc.Driver
log4j.appender.SQLPROFILER_CLIENT=org.apache.log4j.net.SocketAppender
log4j.appender.SQLPROFILER_CLIENT.RemoteHost=localhost
log4j.appender.SQLPROFILER_CLIENT.Port=4445
log4j.appender.SQLPROFILER_CLIENT.LocationInfo=true
log4j.logger.p6spy=DEBUG,STDOUT,SQLPROFILER_CLIENT

appender=com.p6spy.engine.logging.appender.Log4jLogger

Is there anything that needs to be changed in the log4j config of the app? This is what I have

log4j = {
            error &#039;grails.app&#039;, &#039;stdout&#039;, &#039;file&#039;
            root {
                error()
            }
            additivity = true
        }

I also have Grails in Action and nothing in there is helping me resolve this. 

When running the app with &#039;-Dlog4j.debug=true&#039; i get the following output

log4j: Trying to find [log4j.xml] using context classloader java.net.URLClassLoader@10f0625.
log4j: Trying to find [log4j.xml] using org.codehaus.groovy.grails.cli.support.GrailsRootLoader@fd13b5 class loader.
log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().
log4j: Trying to find [log4j.properties] using context classloader java.net.URLClassLoader@10f0625.
log4j: Using URL [jar:file:/home/jerome/grails/dist/grails-scripts-1.2-M2.jar!/log4j.properties] for automatic log4j configuration.
log4j: Reading configuration from URL jar:file:/home/jerome/grails/dist/grails-scripts-1.2-M2.jar!/log4j.properties
log4j: Parsing for [root] with value=[error, NULL].
log4j: Level token is [error].
log4j: Category root set to ERROR
log4j: Parsing appender named &quot;NULL&quot;.
log4j: Parsed &quot;NULL&quot; options.
log4j: Finished configuring.
No authentication for svn repo at ywRepository ...
log4j: setFile called: stacktrace.log, true
log4j: setFile ended
The plugin is disabled therefore nothing needs to be done here.
Running Grails application..
8-Oct-2009 2:18:30 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
8-Oct-2009 2:18:30 PM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat
8-Oct-2009 2:18:30 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0-snapshot
8-Oct-2009 2:18:30 PM org.apache.catalina.startup.ContextConfig defaultWebConfig
INFO: No default web.xml
8-Oct-2009 2:18:31 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j: Could not find root logger information. Is this OK?
log4j: Parsing for [p6spy] with value=[DEBUG,STDOUT,SQLPROFILER_CLIENT].
log4j: Level token is [DEBUG].
log4j: Category p6spy set to DEBUG
log4j: Parsing appender named &quot;STDOUT&quot;.
log4j:ERROR Could not find value for key log4j.appender.STDOUT
log4j:ERROR Could not instantiate appender named &quot;STDOUT&quot;.
log4j: Parsing appender named &quot;SQLPROFILER_CLIENT&quot;.
log4j: Setting property [port] to [4445].
log4j: Setting property [locationInfo] to [true].
log4j: Setting property [remoteHost] to [localhost].
log4j: Parsed &quot;SQLPROFILER_CLIENT&quot; options.
log4j: Handling log4j.additivity.p6spy=[null]
log4j: Finished configuring.
Server running. Browse to http://localhost:8080/imt-grails-webapp</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to get this working in 1.2 and having no luck with the logging output. </p>
<p>The P6Spy shows green and i get the 3 init messages, driverManager; registeredDriver and reloadProperties.</p>
<p>I have logSql=true in my datasource and am seeing the HSQl dumping to console as i use the app. No SQL statements of further logging appears in P6SPy app os spy.log (they never have)</p>
<p>I followed you examples exactly as above &#8211; here is my spy.properties</p>
<p>realdriver=com.mysql.jdbc.Driver<br />
log4j.appender.SQLPROFILER_CLIENT=org.apache.log4j.net.SocketAppender<br />
log4j.appender.SQLPROFILER_CLIENT.RemoteHost=localhost<br />
log4j.appender.SQLPROFILER_CLIENT.Port=4445<br />
log4j.appender.SQLPROFILER_CLIENT.LocationInfo=true<br />
log4j.logger.p6spy=DEBUG,STDOUT,SQLPROFILER_CLIENT</p>
<p>appender=com.p6spy.engine.logging.appender.Log4jLogger</p>
<p>Is there anything that needs to be changed in the log4j config of the app? This is what I have</p>
<p>log4j = {<br />
            error &#8216;grails.app&#8217;, &#8217;stdout&#8217;, &#8216;file&#8217;<br />
            root {<br />
                error()<br />
            }<br />
            additivity = true<br />
        }</p>
<p>I also have Grails in Action and nothing in there is helping me resolve this. </p>
<p>When running the app with &#8216;-Dlog4j.debug=true&#8217; i get the following output</p>
<p>log4j: Trying to find [log4j.xml] using context classloader java.net.URLClassLoader@10f0625.<br />
log4j: Trying to find [log4j.xml] using org.codehaus.groovy.grails.cli.support.GrailsRootLoader@fd13b5 class loader.<br />
log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().<br />
log4j: Trying to find [log4j.properties] using context classloader java.net.URLClassLoader@10f0625.<br />
log4j: Using URL [jar:file:/home/jerome/grails/dist/grails-scripts-1.2-M2.jar!/log4j.properties] for automatic log4j configuration.<br />
log4j: Reading configuration from URL jar:file:/home/jerome/grails/dist/grails-scripts-1.2-M2.jar!/log4j.properties<br />
log4j: Parsing for [root] with value=[error, NULL].<br />
log4j: Level token is [error].<br />
log4j: Category root set to ERROR<br />
log4j: Parsing appender named &#8220;NULL&#8221;.<br />
log4j: Parsed &#8220;NULL&#8221; options.<br />
log4j: Finished configuring.<br />
No authentication for svn repo at ywRepository &#8230;<br />
log4j: setFile called: stacktrace.log, true<br />
log4j: setFile ended<br />
The plugin is disabled therefore nothing needs to be done here.<br />
Running Grails application..<br />
8-Oct-2009 2:18:30 PM org.apache.coyote.http11.Http11Protocol init<br />
INFO: Initializing Coyote HTTP/1.1 on http-8080<br />
8-Oct-2009 2:18:30 PM org.apache.catalina.core.StandardService start<br />
INFO: Starting service Tomcat<br />
8-Oct-2009 2:18:30 PM org.apache.catalina.core.StandardEngine start<br />
INFO: Starting Servlet Engine: Apache Tomcat/6.0-snapshot<br />
8-Oct-2009 2:18:30 PM org.apache.catalina.startup.ContextConfig defaultWebConfig<br />
INFO: No default web.xml<br />
8-Oct-2009 2:18:31 PM org.apache.catalina.core.ApplicationContext log<br />
INFO: Initializing Spring root WebApplicationContext<br />
log4j: Could not find root logger information. Is this OK?<br />
log4j: Parsing for [p6spy] with value=[DEBUG,STDOUT,SQLPROFILER_CLIENT].<br />
log4j: Level token is [DEBUG].<br />
log4j: Category p6spy set to DEBUG<br />
log4j: Parsing appender named &#8220;STDOUT&#8221;.<br />
log4j:ERROR Could not find value for key log4j.appender.STDOUT<br />
log4j:ERROR Could not instantiate appender named &#8220;STDOUT&#8221;.<br />
log4j: Parsing appender named &#8220;SQLPROFILER_CLIENT&#8221;.<br />
log4j: Setting property [port] to [4445].<br />
log4j: Setting property [locationInfo] to [true].<br />
log4j: Setting property [remoteHost] to [localhost].<br />
log4j: Parsed &#8220;SQLPROFILER_CLIENT&#8221; options.<br />
log4j: Handling log4j.additivity.p6spy=[null]<br />
log4j: Finished configuring.<br />
Server running. Browse to <a href="http://localhost:8080/imt-grails-webapp" onclick="javascript:pageTracker._trackPageview('/outbound/comment/localhost:8080');" rel="nofollow">http://localhost:8080/imt-grails-webapp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Grails, p6spy and Sql Profiler by Ted Naleid &#187; Batch Import Performance with Grails and MySQL</title>
		<link>http://www.piragua.com/2009/06/17/grails-p6spy-and-sql-profiler/comment-page-1/#comment-64</link>
		<dc:creator>Ted Naleid &#187; Batch Import Performance with Grails and MySQL</dc:creator>
		<pubDate>Thu, 01 Oct 2009 05:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.piragua.com/?p=35#comment-64</guid>
		<description>[...] Mike Hugo has a great post on using the p6spy plugin with the JDBC SQL profiler. [...]</description>
		<content:encoded><![CDATA[<p>[...] Mike Hugo has a great post on using the p6spy plugin with the JDBC SQL profiler. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
