mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
more general name for performance logger
This commit is contained in:
parent
af9975c6af
commit
0dada82b4b
@ -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):
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user