Skip to content

Commit

Permalink
Link to troubleshooting guide from README (Azure#25998)
Browse files Browse the repository at this point in the history
Remove content that already exists in the TSG, and link to it.
  • Loading branch information
scottaddie authored May 25, 2023
1 parent 02e3fc0 commit ceddbec
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions sdk/monitor/monitor-query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -718,17 +718,7 @@ A full sample can be found [here](https://github.com/Azure/azure-sdk-for-js/blob

## Troubleshooting

### Logging

Enabling logging may help uncover useful information about failures. To see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:

```ts
import { setLogLevel } from "@azure/logger";

setLogLevel("info");
```

For detailed instructions on how to enable logs, see the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
To diagnose various failure scenarios, see the [troubleshooting guide](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/TROUBLESHOOTING.md).

## Next steps

Expand Down

0 comments on commit ceddbec

Please sign in to comment.