-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Messages not showing up in AzureLogAnalytics #653
Comments
Not good, obviously. $paramSetPSFLoggingProvider = @{
Name = 'AzureLogAnalytics'
InstanceName = $LogType
WorkspaceId = $env:LOG_ANALYTICS_WORKSPACE_ID
SharedKey = $env:LOG_ANALYTICS_WORKSPACE_KEY
LogType = $LogType
Enabled = $true
Wait = $true
}
Set-PSFLoggingProvider @paramSetPSFLoggingProvider
Write-PSFMessage -Message $Message -Level $Level
Wait-PSFMessage Without the Just realized I din't update my bloody examples . |
@robabbott42 @FriedrichWeinmann |
Yepp, I'm collecting those ... let's call them "Pseudo-Breaking"-changes - things that are an improvement, might break some things, but probably won't affect many/most. And are easy to mitigate for those impacted (in this case: Respecting |
I am using the AzureLogAnalytics PSFLoggingProvider from a GitHub action. The messages are only showing up in my Log Analytics about 40% of the time.
$paramSetPSFLoggingProvider = @{
Name = 'AzureLogAnalytics'
InstanceName = $LogType
WorkspaceId = $env:LOG_ANALYTICS_WORKSPACE_ID
SharedKey = $env:LOG_ANALYTICS_WORKSPACE_KEY
LogType = $LogType
Enabled = $true
}
Set-PSFLoggingProvider @paramSetPSFLoggingProvider
Write-PSFMessage -Message $Message -Level $Level
Wait-PSFMessage
The text was updated successfully, but these errors were encountered: