-
Notifications
You must be signed in to change notification settings - Fork 194
Logging
anotherRedbeard edited this page Apr 18, 2023
·
5 revisions
The extractor and publisher use the .NET logging API. The easiest way to enable enhanced logging in your pipelines is to set environment variable Logging__LogLevel__Default
to either Debug
or Trace
. You can do this in ADO by updating your apim-automation
variable group:
You can also do this in Github by setting a variable named LOG_LEVEL
for the appropriate environment as demonstrated here.
- Shows the URLs used in each API call. For instance,
Beginning request to put REST resource URI https://management.azure.com/subscriptions/***/resourceGroups/***/providers/Microsoft.ApiManagement/service/$(APIM_NAME)/namedValues/mynamedvalue?api-version=2021-12-01-preview...
- Shows the URLs used in each API call
- For PUT requests, shows the contents of the JSON. WE MAKE NO ATTEMPTS TO SCRUB THE JSON CONTENTS, SO SENSITIVE INFORMATION MAY APPEAR IN THE OUTPUT.