Node.js App Service application / console logs are not being streamed to event hub, but HTTP logs are
Hi,
I have a Node.js web app running in App Services. The code contains console.log() statements.
If I click on "Log Stream" in the Azure console, I can see the outputs of those log statements. I have also configured logging to the file system under "App Service logs". Using kudu, I can see those logs files being created under "C:\home\LogFiles\Application".
I have also configured a "Diagnostic Setting" to stream the logs to an event hub. This is where I am having an issue. Even though I have selected every category of log in that setting, including "App Service Console Logs" and "App Service Application Logs", the only logs I see being streamed to the event hub are the "HTTP logs". I am observing this using the hub's Data Explorer. The event hub is deployed to the same region as my web app.
What am I missing? Why are these log types not being streamed to the event hub?
Thanks,
Scott