Skip to content

Commit 38a8b75

Browse files
committed
Add Windows instructions for debug logs
1 parent 31236e3 commit 38a8b75

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)