You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2017/05/23 01:31:04 UTC

[jira] [Updated] (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 ]

Alejandro Fernandez updated AMBARI-21096:
-----------------------------------------
    Attachment: AMBARI-21096.branch-2.5.patch

> 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
>
>         Attachments: AMBARI-21096.branch-2.5.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)