Return-Path: Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: (qmail 16424 invoked from network); 18 Sep 2010 22:03:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Sep 2010 22:03:12 -0000 Received: (qmail 61714 invoked by uid 500); 18 Sep 2010 22:03:12 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 61685 invoked by uid 500); 18 Sep 2010 22:03:12 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 61678 invoked by uid 500); 18 Sep 2010 22:03:12 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 61675 invoked by uid 99); 18 Sep 2010 22:03:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 22:03:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 22:02:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8IM2WXS005504 for ; Sat, 18 Sep 2010 22:02:33 GMT Message-ID: <7713987.277811284847352552.JavaMail.jira@thor> Date: Sat, 18 Sep 2010 18:02:32 -0400 (EDT) From: "Alex Boisvert (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Commented: (BUILDR-510) Add support for trace categories: --trace=foo,bar In-Reply-To: <13177143.277791284847233275.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BUILDR-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12911106#action_12911106 ] Alex Boisvert commented on BUILDR-510: -------------------------------------- New documentation: h3. Verbosity and Tracing By default, Buildr is moderately verbose, meaning that it attempts to give you enough context into what's happening during the build. It's possible to silence Buildr if you're inconvenienced by its default verbosity by issuing, {% highlight sh %} $ buildr --silent {% endhighlight %} On the other hand, if you want Buildr to give you more context in order to trace what's happening, you can use the @-t@ options: {% highlight sh %} $ buildr -t {% endhighlight %} Using @-t@ will also display backtraces if and when they occur. Many components can be individually configured to display more output if you're debugging a specific area of your build. For instance, you could use @--trace=javac,groovyc@ to enable tracing of the Java and Groovy compilers: {% highlight sh %} $ buildr --trace=javac,groovyc {% endhighlight %} If you don't know which tracing category you need to enable or if you want a full firehose worth of traces, you can enable all traces: {% highlight sh %} $ buildr --trace=all {% endhighlight %} > Add support for trace categories: --trace=foo,bar > -------------------------------------------------- > > Key: BUILDR-510 > URL: https://issues.apache.org/jira/browse/BUILDR-510 > Project: Buildr > Issue Type: Improvement > Reporter: Alex Boisvert > > As proposed and discussed on the mailing list, > http://buildr.markmail.org/thread/tcm3coxxflwb7xgj > e.g. > buildr --trace # traces everything > buildr --trace=tasks # traces just build-related bits -- task executions, things logged with `trace` in buildr & extensions > buildr --trace=ant,javac # ups the verbosity for just ant and javac -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.