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 30CD2200CAA for ; Sat, 3 Jun 2017 00:32:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2F785160BDD; Fri, 2 Jun 2017 22:32:08 +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 7724D160BD2 for ; Sat, 3 Jun 2017 00:32:07 +0200 (CEST) Received: (qmail 79663 invoked by uid 500); 2 Jun 2017 22:32:06 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 79652 invoked by uid 99); 2 Jun 2017 22:32:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2017 22:32:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3534EC68F8 for ; Fri, 2 Jun 2017 22:32:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 0ve9e1fZNdUU for ; Fri, 2 Jun 2017 22:32:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 3F5DC5FB32 for ; Fri, 2 Jun 2017 22:32:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C31D4E0C15 for ; Fri, 2 Jun 2017 22:32:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2FC2721B59 for ; Fri, 2 Jun 2017 22:32:04 +0000 (UTC) Date: Fri, 2 Jun 2017 22:32:04 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-21096) Provide additional logging for config audit log MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Jun 2017 22:32:08 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16035543#comment-16035543 ] Hudson commented on AMBARI-21096: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7571 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7571/]) AMBARI-21096. Provide additional logging for config audit log (afernandez: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=57f4461bd002d998796168a00e51113927262ab8]) * (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ConfigGroupResourceProvider.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java > Provide additional logging for config audit log > ------------------------------------------------ > > Key: AMBARI-21096 > URL: https://issues.apache.org/jira/browse/AMBARI-21096 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: trunk > Reporter: Alejandro Fernandez > Assignee: Alejandro Fernandez > Fix For: trunk, 2.5.2, 2.4.4 > > Attachments: AMBARI-21096.branch-2.5.patch, AMBARI-21096.trunk.patch > > > Improve logging of ambari-config-changes.log to include names, timestamps, and versions. > Current log is of the form, > {noformat} > 2017-05-12 22:14:45,541 INFO - Cluster 'c1' changed by: 'admin'; service_name='ZOOKEEPER' config_group='Default' config_group_id='-1' version='1' > 2017-05-12 22:14:45,562 INFO - cluster 'c1' changed by: 'admin'; type='zookeeper-log4j' tag='version1' > 2017-05-12 22:14:45,562 INFO - cluster 'c1' changed by: 'admin'; type='zookeeper-logsearch-conf' tag='version1' > 2017-05-12 22:14:45,562 INFO - cluster 'c1' changed by: 'admin'; type='zookeeper-env' tag='version1' > 2017-05-12 22:14:45,562 INFO - cluster 'c1' changed by: 'admin'; type='zoo.cfg' tag='version1' > # Changed default config > 2017-05-12 22:18:06,277 INFO - Cluster 'c1' changed by: 'admin'; service_name='ZOOKEEPER' config_group='Default' config_group_id='-1' version='2' > 2017-05-12 22:18:06,278 INFO - cluster 'c1' changed by: 'admin'; type='zoo.cfg' tag='version1494627510038' > # Changed config in Custom_ZK_05 > 2017-05-12 22:22:48,957 INFO - User admin is creating new configuration group Custom_ZK_05 for tag ZOOKEEPER in cluster c1 > 2017-05-12 22:23:25,050 INFO - Cluster 'c1' changed by: 'admin'; service_name='ZOOKEEPER' config_group='Default' config_group_id='-1' version='3' > 2017-05-12 22:23:25,050 INFO - cluster 'c1' changed by: 'admin'; type='zoo.cfg' tag='version1494627828482' > {noformat} > Will add the Note field, config group name (not just the id), config type, and perhaps number of hosts affected. -- This message was sent by Atlassian JIRA (v6.3.15#6346)