WebApp Stream logs not showing in Logs table AppServiceConsoleLogs

Virginia Lopez - External 0 Reputation points
2023-10-25T10:41:54.38+00:00

Hello,

we have a linux WebApp, we have some logging that we can see in the Stream logs, but I can not see the logs in the AppServiceConsoleLogs table (is empty).

Can somebody help with the issue?

Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
331 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
770 questions
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 15,256 Reputation points Microsoft Employee
    2023-10-25T23:00:46.6466667+00:00

    @Virginia Lopez - External let me clarify that the AppServiceConsoleLogs table is only used for Windows WebApps. For Linux WebApps, you should be looking at the LogFiles directory instead.

    Now, let's check if the diagnostic settings are set up correctly. Can you please confirm if you have enabled the Application Logging (File System) and set the Level to Information in the Diagnostic settings for your WebApp? If not, please follow the steps below to enable it:

    1. Navigate to the page for the App Service instance in the Azure portal.
    2. Select the App Service logs under the Monitoring heading in the menu on the left side of the page.
    3. Change the Application Logging (File System) property to On.
    4. Set the Level to Information.
    5. Select Save to save your changes

    Once you have enabled the Application Logging (File System) and set the Level to Information, you should be able to see the logs in the LogFiles directory. If you are still having trouble, please let me know and we can troubleshoot further.