Logging
Information about logging in PowerShell Universal.
Changing the Logging Level
"Logging": {
"Path":"%HOME%/.PowerShellUniversal/log.txt",
"LogLevel": {
"Default": "Debug",
"Microsoft": "Debug",
"Microsoft.Hosting.Lifetime": "Debug"
}
},$Env:Logging__LogLevel__Default = "Debug"Changing the Logging Path
"Logging": {
"Path":"C:\log.txt",
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},Logging in IIS
Event Logs

Common Logging Scenarios
Out of Process Startup Failure in IIS
Did not receive port from client process
Last updated
Was this helpful?