Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
trunk
-
None
Description
Improve logging of ambari-config-changes.log to include names, timestamps, and versions.
Current log is of the form,
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'
Will add the Note field, config group name (not just the id), config type, and perhaps number of hosts affected.
Attachments
Attachments
Issue Links
- links to