Hi KentWeareMSFT ,
We hooked up our local vs code logic apps project with actual application insights resource in Azure using "APPINSIGHTS_INSTRUMENTATIONKEY" in local.settings.json file to see all the events in app insights when we run the logic app locally. We are also using .NET custom code calling from standard logic apps.
We can see all the logs in app insights related to workflow but we can't see any logs that are executed in custom.net code. I am assuming .NET code also refers the app insights key from the same place where logic apps referring which local.settings.jason file in vs code. This is not working for both information log and exception log. When we see the code in .net with debug, the statements are executing without any error.
Is there anything else we need to do push the logs from custom .net code to app insights? On another note, I can see the logs in VS code debug console but not in app insights.
Thanks
JB