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 75D80200CFE for ; Fri, 8 Sep 2017 18:28:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 74CDC1609BE; Fri, 8 Sep 2017 16:28:15 +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 B949D1609BD for ; Fri, 8 Sep 2017 18:28:14 +0200 (CEST) Received: (qmail 58633 invoked by uid 500); 8 Sep 2017 16:28:13 -0000 Mailing-List: contact dev-help@atlas.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.apache.org Delivered-To: mailing list dev@atlas.apache.org Received: (qmail 58622 invoked by uid 99); 8 Sep 2017 16:28:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2017 16:28:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7B4521A02D1; Fri, 8 Sep 2017 16:28:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3 X-Spam-Level: *** X-Spam-Status: No, score=3 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 4gN_naFVotBM; Fri, 8 Sep 2017 16:28:11 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7C6275FCCB; Fri, 8 Sep 2017 16:28:10 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C1E66E00C9; Fri, 8 Sep 2017 16:28:09 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id C3FBCC408B6; Fri, 8 Sep 2017 16:28:07 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3960828566195645145==" MIME-Version: 1.0 Subject: Re: Review Request 61200: ATLAS-1996: Log4J Default Configuration Updated From: Ashutosh Mestry To: Madhan Neethiraj Cc: Ashutosh Mestry , atlas , Sarath Subramanian Date: Fri, 08 Sep 2017 16:28:07 -0000 Message-ID: <20170908162807.9625.98283@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Ashutosh Mestry X-ReviewGroup: atlas X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/61200/ X-Sender: Ashutosh Mestry References: <20170907173029.39550.19394@reviews-vm2.apache.org> In-Reply-To: <20170907173029.39550.19394@reviews-vm2.apache.org> Reply-To: Ashutosh Mestry X-ReviewRequest-Repository: atlas archived-at: Fri, 08 Sep 2017 16:28:15 -0000 --===============3960828566195645145== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61200/ ----------------------------------------------------------- (Updated Sept. 8, 2017, 4:28 p.m.) Review request for atlas and Madhan Neethiraj. Changes ------- Updates include: - Addressed review comment. Bugs: ATLAS-1996 https://issues.apache.org/jira/browse/ATLAS-1996 Repository: atlas Description ------- **Problem** Existing log4J configuration did not include max size parameter. This caused logs to grow making it hard for human log readers. Another contributing factor to log size growth is TitanDB's _IndexSerializer_. When this is used, the query conversion from graph query to indexed query is written as info log entry. With the recent changes, many more index queries are used, thus contributing to growth of log files. **Solution** Added maxFileSize parameter. Changed _com.thinkaurelius.titan_ log level to _warn_. **Additional Info** Defaults need to be set in _Ambari_ so that they reflect correctly as part of deployment. Diffs (updated) ----- addons/hive-bridge/src/main/resources/atlas-hive-import-log4j.xml c1184e5 distro/src/conf/atlas-log4j.xml a0ef6a9 typesystem/src/main/resources/atlas-log4j.xml c30403e Diff: https://reviews.apache.org/r/61200/diff/3/ Changes: https://reviews.apache.org/r/61200/diff/2-3/ Testing ------- **Functional tests** Observed configuration changes in the logs generated. Thanks, Ashutosh Mestry --===============3960828566195645145==--