@@ -263,6 +263,8 @@ def discover_domain_parameters(self):
263
263
discoverer .add_to_model_if_not_empty (self ._dictionary , model_folder_name , folder_result )
264
264
model_folder_name , folder_result = self ._get_restful_management_services ()
265
265
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 )
266
268
_logger .exiting (class_name = _class_name , method_name = _method_name )
267
269
268
270
def discover_security_configuration (self ):
@@ -306,7 +308,7 @@ def _get_jta(self):
306
308
def _get_jmx (self ):
307
309
"""
308
310
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
310
312
"""
311
313
_method_name = '_get_jmx'
312
314
_logger .entering (class_name = _class_name , method_name = _method_name )
@@ -322,6 +324,26 @@ def _get_jmx(self):
322
324
_logger .exiting (class_name = _class_name , method_name = _method_name )
323
325
return model_top_folder_name , result
324
326
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
+
325
347
def _get_restful_management_services (self ):
326
348
"""
327
349
Discover the wlst restful management services enablement for the domain.
0 commit comments