How to display code logs in a fancy way, without Log Stream?

Oleksandr Novik 1 Reputation point
2022-12-02T10:59:41.097+00:00

I have logs in my code, and they seem to be working fine. I see them in the Log Stream, alongside other application logs:

266641-image.png

But is there any GUI for listing and navigating logs, where I can see them in a more 'ergonomic' manner, than just a black console window? I would like to see logs as separate entries, with nice UI, sort them by kind, date, maybe see where they came from, etc. Does Azure App Service or Application Insights in particular offer that?
Thanks.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2022-12-05T13:43:17.45+00:00

    @Oleksandr Novik , Based on my understanding of your scenario. You’re looking for ways to navigate to log locations, view/GUI and explore logs for analysis.

    On App service (WebApp) you can enable diagnostic logging (Application, Web Server, Detailed Server Error Messages, failed request tracing, Deployment logs), and review the logs.

    3 Ways you can explore log info:

    1. Kudu Console
    2. App Service Diagnostics
    3. Via Azure Monitor

    1.For logs stored in the App Service file system, you can navigate, explore and dig into the log via **Kudu Console (**screenshot below)

    -Windows apps: https://<app-name>.scm.azurewebsites.net/api
    -Linux/custom containers: https://<app-name>.scm.azurewebsites.net/api/logs/

    -Checkout the log directory/location information -here - Access log files

    2.App Service provides a dedicated, interactive diagnostics tool to help you troubleshoot your application.
    For more information, see Azure App Service diagnostics overview.
    3 - App service Diagnostics

    **3.**You can Send logs to Azure Monitor

    Screenshot - Kudu Console
    1 - Kudu Console

    Kindly let us know If I misunderstood or you need further assistance on this.
    Thanks for your patience!

    --
    To benefit the community find the right answers, please do mark the post which was helpful by clicking on Accept Answer’ & ‘Up-Vote’.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.