diff --git a/awx/api/generics.py b/awx/api/generics.py index 1582355f2e..90c555c8d3 100644 --- a/awx/api/generics.py +++ b/awx/api/generics.py @@ -41,7 +41,7 @@ __all__ = ['APIView', 'GenericAPIView', 'ListAPIView', 'SimpleListAPIView', 'DeleteLastUnattachLabelMixin',] logger = logging.getLogger('awx.api.generics') -analytics_logger = logging.getLogger('awx.analytics.performance.api') +analytics_logger = logging.getLogger('awx.analytics.performance') def get_view_name(cls, suffix=None): diff --git a/awx/main/utils/formatters.py b/awx/main/utils/formatters.py index 11a2ac3d5d..4bece1b74f 100644 --- a/awx/main/utils/formatters.py +++ b/awx/main/utils/formatters.py @@ -81,7 +81,7 @@ class LogstashFormatter(LogstashFormatterVersion1): else: data_for_log['facts'] = data data_for_log['module_name'] = module_name - elif kind == 'performance.api': + elif kind == 'performance': return raw_data return data_for_log