You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/06/06 11:24:18 UTC
[jira] [Reopened] (AMBARI-21096) Provide additional logging for
config audit log
[ https://issues.apache.org/jira/browse/AMBARI-21096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doroszlai, Attila reopened AMBARI-21096:
----------------------------------------
[~afernandez], this commit introduced consistent unit test failures on [trunk|https://builds.apache.org/job/Ambari-trunk-Commit/7571/] and [branch-2.5|https://builds.apache.org/job/Ambari-branch-2.5/1555/], too. Can you please check?
> 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)