Skip to content

Commit

Permalink
Experimental feature flag GetLogs documentation (Azure#2873)
Browse files Browse the repository at this point in the history
Adds documentation on how to enable the experimental GetLogs direct method using an environment variable.
  • Loading branch information
PontusHanssen authored Apr 27, 2020
1 parent 7be202d commit f96fdf1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/built-in-logs-pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,10 @@ The response is in the same format as `UploadLogs`.

>Available in release 1.0.9
This method accepts a JSON payload very similar to **UploadLogs** except it doesn't have the "sasUrl" key since the matching logs are returned inline in the response of the direct method. The logs content is truncated to the response size limit of direct methods which is currently 4KB.
To enable this feature, an additional environment needs to be set for the edgeAgent:

| Environment Variable Name | value |
|------------------------------------------|--------|
| `ExperimentalFeatures__EnableGetLogs` | `true` |

This method accepts a JSON payload very similar to **UploadLogs** except it doesn't have the "sasUrl" key since the matching logs are returned inline in the response of the direct method. The logs content is truncated to the response size limit of direct methods which is currently 128KB.

0 comments on commit f96fdf1

Please sign in to comment.