[jboss-as7-dev] Trace logging in the test suite

Galder Zamarreño galder at redhat.com
Fri May 11 09:25:41 EDT 2012


You should share this with the entire dev list, this is useful for all projects.

Thanks Stuart!

On May 9, 2012, at 3:09 AM, Sebastian Otaegui wrote:

> Thanks!
> 
> On Tue, May 8, 2012 at 8:01 PM, Stuart Douglas <stuart.w.douglas at gmail.com> wrote:
> https://github.com/jbossas/jboss-as/commit/e0c6cdd53068e46a1c9d81d4649cb9985b49ec14
> 
> There are probably better ways, but I don't really know anything about xslt, and this does the job. 
> 
> Stuart
> 
> 
> 
> On Wed, May 9, 2012 at 10:56 AM, Sebastian Otaegui <feniix at gmail.com> wrote:
> Would you mind showing the commit that does this, I am interested in how you do that.
> 
> Thanks in advance
> 
> On Tue, May 8, 2012 at 7:42 PM, Stuart Douglas <stuart.w.douglas at gmail.com> wrote:
> Just so everyone is aware I have added some functionality to the test suite to allow for easy enabling of trace logging for categories when running tests. 
> 
> It should now be possible to specify a -Dtrace=org.mycategory1,org.mycategory2 when running the tests, and as part of the server build process an XSL will add trace logging for those categories to the server. 
> 
> I am hoping this will make it much easier to debug problems that only happen in CI environments. 
> 
> Stuart
> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> 
> 
> 
> 
> -- 
> Those who do not understand Unix are condemned to reinvent it, poorly.
> Any sufficiently recent Microsoft OS contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Unix.
> 
> 
> 
> 
> -- 
> Those who do not understand Unix are condemned to reinvent it, poorly.
> Any sufficiently recent Microsoft OS contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Unix.
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the jboss-as7-dev mailing list