DEV Community

Bervianto Leo Pratama
Bervianto Leo Pratama

Posted on • Originally published at Medium on

6

Activate Logging for Azure Web App for Containers

Why my logs not shown?

I will assume you are already have deployed the applications at Azure Web App, but it show nothing at Log Stream. Here is the Log stream looks.

Log stream

Log stream menu under Monitoring section.

When you have warning about the App Service logs not activated, you come to the right place. You need to go App Service logs menu under Monitoring section .

App Service logs

Click the Application Logging menu to File System. Define the Quota (MB) and Retention Period (Days) with your needs, as my example fill about 35 MB and 5 Days, I fill low number because this is only for testing/development for the Production maybe you will need higher quota and longer retention period. After finished, you can try again into Log stream and also do any tasks that will trigger the logs.

Another Options to Get Logs

Anyway, this step only to find the logs same as Log stream , but not about to activate it.

Linux

Visit this: https://.scm.azurewebsites.net/

You will get pages like this

Kudu — Azure App Service

You can try check the logs by click Current Docker logs or if you need download the logs, click Download as zip.

More Information

If you need more information about to get logs, it will good if you try to check the Azure Documentation. Here the link: https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs

This is part of learning this module: https://docs.microsoft.com/en-us/learn/paths/az-400-develop-instrumentation-strategy/

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay