mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
Merge pull request #253 from AlanCoding/another_log_fix
force log test to be DEBUG level
This commit is contained in:
@@ -201,6 +201,7 @@ class SettingLoggingTest(GenericAPIView):
|
|||||||
mock_settings = MockSettings()
|
mock_settings = MockSettings()
|
||||||
for k, v in serializer.validated_data.items():
|
for k, v in serializer.validated_data.items():
|
||||||
setattr(mock_settings, k, v)
|
setattr(mock_settings, k, v)
|
||||||
|
mock_settings.LOG_AGGREGATOR_LEVEL = 'DEBUG'
|
||||||
BaseHTTPSHandler.perform_test(mock_settings)
|
BaseHTTPSHandler.perform_test(mock_settings)
|
||||||
except LoggingConnectivityException as e:
|
except LoggingConnectivityException as e:
|
||||||
return Response({'error': str(e)}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
|
return Response({'error': str(e)}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
|
||||||
|
|||||||
Reference in New Issue
Block a user