Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C442DC1B for ; Mon, 4 Mar 2013 14:53:45 +0000 (UTC) Received: (qmail 2269 invoked by uid 500); 4 Mar 2013 14:53:44 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 2209 invoked by uid 500); 4 Mar 2013 14:53:43 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 2195 invoked by uid 99); 4 Mar 2013 14:53:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 14:53:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dawid.weiss@gmail.com designates 209.85.217.170 as permitted sender) Received: from [209.85.217.170] (HELO mail-lb0-f170.google.com) (209.85.217.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 14:53:38 +0000 Received: by mail-lb0-f170.google.com with SMTP id ge1so4017015lbb.29 for ; Mon, 04 Mar 2013 06:53:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=dQs10k7AaN2m+70FKS0PkFs+gf55jikq+hNNV0D1K1k=; b=tfwbqXvYndJU7SaFQmYEU90q2VJV1oPNHm2R8F8xSa2BW9Egiq0DighnAEjgzvLCHA bu2E+i3TiSuJpdxP3zCzrzN5Y6dLiiScI8dAnbV/X7f0gY/6x2sBecI5wJLolIY3jpjA 5IVK0NW2mv2b8UGQQ7TADLFyXQczRO0WsN7dzcK/bvOLNiI/SGmFbMQpf+U0YldAWuJk za83urDoryJzJesOmpRmX4t1pnlBhY1T8lNmUOpJRrtymHLt0Q3Sl50TAWNDrc9F9No7 m9dWpZsCwwTd9BTPqdeU/6NJ0nSmfS8bMscQuUJH8FdcMW3iLS/Of+AmZj5omWzu3YuZ XXmQ== X-Received: by 10.152.109.208 with SMTP id hu16mr18220965lab.45.1362408796903; Mon, 04 Mar 2013 06:53:16 -0800 (PST) MIME-Version: 1.0 Sender: dawid.weiss@gmail.com Received: by 10.112.32.73 with HTTP; Mon, 4 Mar 2013 06:52:56 -0800 (PST) In-Reply-To: References: From: Dawid Weiss Date: Mon, 4 Mar 2013 15:52:56 +0100 X-Google-Sender-Auth: SAwxztI76slIHJHo0gk-93-Xnk4 Message-ID: Subject: Re: verbose logging To: dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org By default the output from tests that passed is not dumped to the console (you wouldn't be able to track which JVM dumped what anyway when running on multicore). If you need a full log then: > ant test-help ... [echo] # Include additional information like what is printed to [echo] # sysout/syserr, even if the test passes. [echo] # Enabled automatically when running for a single test case. [echo] ant -Dtests.showSuccess=true test Should do the job. If you'd like to see the output from jenkins or any other build server then, unless it fails, it won't be on the console. Dawid On Mon, Mar 4, 2013 at 3:48 PM, Erick Erickson wrote: > I tried turning on verbose in the OpenCloseCoreStressTests by setting > System.setProperty("tests.verbose", "true"); > in @BeforeClass and, of course, it works on my machine. But the failed test > logs don't have verbose output, is there some magic here? For the nonce, I'm > just doing a bit of hard logging. > > I also found another place where I screwed up the a Stream by not closing > it, ZkCLI of all places. I've checked that in. > > Of course all tests pass on my machine. Scant comfort that. > > I also had yet another assumption proved wrong so I didn't get any useful > info from last night's failure, trying to add some more logging again today. > Don't panic that the checking has my initials init, that's so I'm absolutely > sure to know to take it out. > > Thanks, > Erick --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org