more general name for performance logger

This commit is contained in:
Chris Meyers 2017-02-18 09:28:38 -05:00
parent af9975c6af
commit 0dada82b4b
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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