I thought this would be simple but after several hours have realized that it is not. I deployed an "App Service" to Azure that is a C# .Net Core.
I am trying to add some crude monitoring of by app by using Console.WriteLine("my message") or Trace.TraceError("my message") but I can't find that output anywhere in Azure.
I tried enabling Application Insights but didn't find the output there either.
I just want the simplest way to get a little idea that a line of code in my app is getting hit. What is that simplest way?
Things I have tried: 1) I went in to the console in Azure and browsed to every file that might have this sort of output but did not find any. Certainly nothing in any of the files and folders under LogFiles. 2) I DID go to "App Service Logs" and enabled "Application Logging (Filesystem)". 3) I also enabled "Detailed error messages" in "App Service Logs". 4) I tried "Diagnostic settings (preview)" but could not find the output there. 5) I watch the "Log Stream" for Application Logs but nothing shows up there 6) Under "Logs" I just have this message: "We didn’t find any logs" 7) Neither "metrics" nor "Alerts" has this log output
I am beginning to suspect this is not support in Azure. Do I need to add a logging framework like serilog just to one time add a statement to may app like "You hit line 20"? I really just want something quick and dirty, but after spending a few hours on this the "quick" part of it isn't happening.


