Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-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 62F4810905 for ; Sat, 14 Dec 2013 15:26:21 +0000 (UTC) Received: (qmail 35307 invoked by uid 500); 14 Dec 2013 15:26:20 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 34771 invoked by uid 500); 14 Dec 2013 15:26:14 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 34763 invoked by uid 99); 14 Dec 2013 15:26:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 15:26:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.192.174 as permitted sender) Received: from [209.85.192.174] (HELO mail-pd0-f174.google.com) (209.85.192.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 15:26:08 +0000 Received: by mail-pd0-f174.google.com with SMTP id y13so3630824pdi.19 for ; Sat, 14 Dec 2013 07:25:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VXNWzHiKqFKtHxpAI1F9WdhEg7TmwbaRZAKqUNDEk30=; b=KA/Oa4gypIeK4VR+cmQ85tJTkAUJGA1fK/l738j2cYEDT4/PJwjIhCfK15hDri8ero +6pjIqhXc+DZo18lBZFTwRmMu7ZUdA4OlDUc1wh3MygtARdp/Px5yaf/RpgXi7ecTW9C pZ97v/XsTdrtl5MRndOtHif0wslZpXNwm0oCJKKGh010R9gA9OZJgAkQE3s9V5L8DKa6 2wyG1cgFQ8dPCBMwgyghV4sLjHXXoijkZtWQ9/k5i6IicRnrtA8+Qg7fI3kemHkLvb9T TPIsNBBlO5POtEJPuQWfb8UR1u+GEkSOHInl/jGlmdHLRuYmjfRB+Sko9U5yAhTMb97O evlA== MIME-Version: 1.0 X-Received: by 10.68.106.69 with SMTP id gs5mr9998595pbb.87.1387034748204; Sat, 14 Dec 2013 07:25:48 -0800 (PST) Received: by 10.70.16.226 with HTTP; Sat, 14 Dec 2013 07:25:48 -0800 (PST) In-Reply-To: References: Date: Sat, 14 Dec 2013 07:25:48 -0800 Message-ID: Subject: Re: HBase 0.96 LogLevel? From: Ted Yu To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=047d7b676f1a7542d604ed8031f5 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b676f1a7542d604ed8031f5 Content-Type: text/plain; charset=ISO-8859-1 How did you set log level to DEBUG ? I tried the following command and it worked: hbase -Dhbase.root.logger=DEBUG,RFA org.apache.hadoop.hbase.util.CompressionTest file:///tmp/test.txt snappy Snippet of log file: 2013-12-14 15:23:37,853 DEBUG [main] hdfs.BlockReaderLocal: The short-circuit local reads feature is enabled. 2013-12-14 15:23:37,900 INFO [main] compress.CodecPool: Got brand-new decompressor [.snappy] 2013-12-14 15:23:37,901 DEBUG [main] compress.CodecPool: Got recycled decompressor Cheers On Sat, Dec 14, 2013 at 5:42 AM, Jean-Marc Spaggiari < jean-marc@spaggiari.org> wrote: > Hi there, > > I'm trying this tool: > bin/hbase org.apache.hadoop.hbase.util.CompressionTest file:///tmp/test.txt > snappy > > And I want to set the log level to debug to see why it fails. But it seems > that it's not taking the log4j.conf into consideraion. I tried to remove > it, same result. I tried to set to debug, same result. > > Any idea how to change the loglevel and why it's not taking our default > config file into consideration? > > JM > --047d7b676f1a7542d604ed8031f5--