Skip to content

Commit 6876a82

Browse files
authored
Merge pull request #54043 from damonbarry/troubleshoot-windows
Add Windows instructions for debug logs
2 parents 3e37df6 + 38a8b75 commit 6876a82

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

articles/iot-edge/troubleshoot.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,20 @@ On Windows:
128128
. {Invoke-WebRequest -useb aka.ms/iotedge-win} | Invoke-Expression; Get-IoTEdgeLog -StartTime ([datetime]::Now.AddMinutes(-5))
129129
```
130130

131+
* View more detailed logs of the IoT Edge security manager:
132+
133+
* Add a system-level environment variable:
134+
135+
```powershell
136+
[Environment]::SetEnvironmentVariable("IOTEDGE_LOG", "edgelet=debug", [EnvironmentVariableTarget]::Machine)
137+
```
138+
139+
* Restart the IoT Edge Security Daemon:
140+
141+
```powershell
142+
Restart-Service iotedge
143+
```
144+
131145
### If the IoT Edge security manager is not running, verify your yaml configuration file
132146

133147
> [!WARNING]

0 commit comments

Comments
 (0)