@@ -193,6 +193,8 @@ def _create_security_provider_mbeans(self, type_name, model_nodes, base_location
193193 for model_name in model_nodes :
194194 model_node = model_nodes [model_name ]
195195
196+ # Need to create the node first ?
197+ self .logger .fine ('Adding the provider {0} at location {1}' , model_name , str (location ))
196198 if model_node is None :
197199 # The node is empty so nothing to do... move to the next named node.
198200 continue
@@ -478,19 +480,19 @@ def _delete_existing_providers(self, location):
478480 self .logger .entering (location .get_folder_path (), class_name = self .__class_name , method_name = _method_name )
479481
480482 list_path = self .alias_helper .get_wlst_list_path (location )
481- self .logger .finer ('Look for providers at location {0}' , list_path )
482483 existing_folder_names = self ._get_existing_folders (list_path )
483484 wlst_base_provider_type = self .alias_helper .get_wlst_mbean_type (location )
484485 if len (existing_folder_names ) == 0 :
485- self .logger .finer ('No default providers installed for {0} at {1}' , wlst_base_provider_type , list_path )
486+ self .logger .finer ('WLSDPLY-12136' , wlst_base_provider_type , list_path , class_name = self .__class_name ,
487+ method_name = _method_name )
486488 else :
487489 create_path = self .alias_helper .get_wlst_create_path (location )
488490 self .wlst_helper .cd (create_path )
489491 for existing_folder_name in existing_folder_names :
490492 try :
491493 self .wlst_helper .delete (existing_folder_name , wlst_base_provider_type )
492- self .logger .finer ('Removed default provider {0} from provider {1} at location {2}' ,
493- existing_folder_name , wlst_base_provider_type , create_path )
494+ self .logger .finer ('WLSDPLY-12135' , existing_folder_name , wlst_base_provider_type , create_path ,
495+ class_name = self . __class_name , method_name = _method_name )
494496 except BundleAwareException , bae :
495497 ex = exception_helper .create_exception (self ._exception_type , 'WLSDPLY-12134' , existing_folder_name ,
496498 self .wls_helper .get_weblogic_version (),
0 commit comments