@@ -263,6 +263,8 @@ def discover_domain_parameters(self):
263263 discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
264264 model_folder_name , folder_result = self ._get_restful_management_services ()
265265 discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
266+ model_folder_name , folder_result = self ._get_domain_log ()
267+ discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
266268 _logger .exiting (class_name = _class_name , method_name = _method_name )
267269
268270 def discover_security_configuration (self ):
@@ -306,7 +308,7 @@ def _get_jta(self):
306308 def _get_jmx (self ):
307309 """
308310 Discover the JMX agents configured in the domain.
309- :return: model name for JMX:dictionary containing the discover JMX attributes
311+ :return: model name for JMX:dictionary containing the discovered JMX attributes
310312 """
311313 _method_name = '_get_jmx'
312314 _logger .entering (class_name = _class_name , method_name = _method_name )
@@ -322,6 +324,26 @@ def _get_jmx(self):
322324 _logger .exiting (class_name = _class_name , method_name = _method_name )
323325 return model_top_folder_name , result
324326
327+ def _get_domain_log (self ):
328+ """
329+ Discover the domain log attributes.
330+ :return: model name for the Log:dictionary containing the discovered Log attributes
331+ """
332+ _method_name = '_get_domain_log'
333+ _logger .entering (class_name = _class_name , method_name = _method_name )
334+ model_top_folder_name = model_constants .LOG
335+ result = OrderedDict ()
336+ location = LocationContext (self ._base_location )
337+ location .append_location (model_top_folder_name )
338+ name = self ._find_singleton_name_in_folder (location )
339+ if name is not None :
340+ _logger .info ('WLSDPLY-06626' , class_name = _class_name , method_name = _method_name )
341+ location .add_name_token (self ._alias_helper .get_name_token (location ), name )
342+ self ._populate_model_parameters (result , location )
343+ self ._discover_subfolders (result , location )
344+
345+ return model_top_folder_name , result
346+
325347 def _get_restful_management_services (self ):
326348 """
327349 Discover the wlst restful management services enablement for the domain.
0 commit comments