Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 273AE200CE1 for ; Fri, 28 Jul 2017 05:32:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 25D4C16C00A; Fri, 28 Jul 2017 03:32:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6E6A716BFF5 for ; Fri, 28 Jul 2017 05:32:25 +0200 (CEST) Received: (qmail 67890 invoked by uid 500); 28 Jul 2017 03:32:24 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 67880 invoked by uid 99); 28 Jul 2017 03:32:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2017 03:32:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A124FC02CF for ; Fri, 28 Jul 2017 03:32:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 8pnHXB6epGSy for ; Fri, 28 Jul 2017 03:32:22 +0000 (UTC) Received: from mail-it0-f46.google.com (mail-it0-f46.google.com [209.85.214.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A03ED60CD9 for ; Fri, 28 Jul 2017 03:32:21 +0000 (UTC) Received: by mail-it0-f46.google.com with SMTP id v127so92508839itd.0 for ; Thu, 27 Jul 2017 20:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=hPauA0La5nO6nk2qmqlaiG3shHU7zYPJBpsGZsFmL1w=; b=MZRIDE3KTko+XCM6SOy1uBjBFMExSJ07oX6VKyF34p9e/KpMbE8uLftbh8erP+wbwH 3WH2bNzAVCnMqhWJQBcDkYjL5MNaaldCBy7aHZgiT/Ii0js2Htp4FukELegcVdMqqaF5 +iZVez7S1ooozXRerTF6rAupYOZUEJSN27t/gFG/8+RXkhPeT062FzjQfwu74iu/k79p WCq4vgz19vvxMNR9W7QJioiHc6XTn/gY1L4uF0gIXmlxkdh1gtO7PGcBpqAfBPqxXDtd 3E988rwFvEyqHhDoefQhVkmPyZBQF6gXDaucsd5r7hYAtLdy3Jy6qlIHZxjsmp6dvbxV JRKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hPauA0La5nO6nk2qmqlaiG3shHU7zYPJBpsGZsFmL1w=; b=k8XVWLMCzcQRobOxnh9YGbo2R897/Lox/wCs+bei/mItG4CLxbVO2zXFyiVmNcRMSz kVyCtWTynz88SOTUIpRGmkt8EE2S4KxktGs0OvoNsqI5qJHqPBB3PZtqZdlwhQziUz2q YB9kjj6LxCdyE+SRTPaE1BIOcRhXPiw2c6K/F7+vv0XleRox5Nlqp+oVDpdh/nlF8H3J rQ7yUv3SffqXsMe5/jfKAZM1uHeXd5xZ7xp0tiwreb20q1KrSSZm+2B6tb2ySCIoc3zy 1g7a07XA3M2IjT6VNh0ruhqPD/IrSg0GtxlgYTgk8EHL4fkITz9QKbLjl3BQNe/jR3ql 1yFw== X-Gm-Message-State: AIVw113LTIDQPuQ/hicm1h6TiY0LHjOmMkj0eSXOsmKkB2OKouALL0N9 +YQHj74I3ZkIsmFGrrWCOmp78jkTHxGu X-Received: by 10.36.113.70 with SMTP id n67mr7198608itc.39.1501212740330; Thu, 27 Jul 2017 20:32:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.101.196 with HTTP; Thu, 27 Jul 2017 20:32:19 -0700 (PDT) From: Mungeol Heo Date: Fri, 28 Jul 2017 12:32:19 +0900 Message-ID: Subject: How to set the logging level of the hiveserver2.log To: user@hive.apache.org Content-Type: text/plain; charset="UTF-8" archived-at: Fri, 28 Jul 2017 03:32:26 -0000 Hello. As I mentioned at the title of this question, I wonder how to set the logging level of the hiveserver2.log file in HDP. And I am also curios about why one of my hiveserver2.log file's logging level is debug while another is not. ------- First hiveserver2.log which has debug log ------- 2017-05-10 13:47:34,201 DEBUG [main]: common.LogUtils (LogUtils.java:logConfigLocation(147)) - Using hive-site.xml found on CLASSPATH at /etc/hive/2.5.0.0-1245/0/conf.server/hive-site.xml 2017-05-10 13:47:34,206 DEBUG [main]: server.HiveServer2 (HiveServer2.java:main(558)) - Logging initialized using configuration in jar:file:/usr/hdp/2.5.0.0-1245/hive/lib/hive-common-1.2.1000.2.5.0.0-1245.jar!/hive-log4j.properties 2017-05-10 13:47:34,227 INFO [main]: server.HiveServer2 (HiveStringUtils.java:startupShutdownMessage(693)) - STARTUP_MSG: ------- Second hiveserver2.log which has no debug log ------- 2017-03-13 20:02:37,674 INFO [main]: server.HiveServer2 (HiveStringUtils.java:startupShutdownMessage(693)) - STARTUP_MSG: Any help will be very thankful.