ayuina / ainaba-csa-blog

掲載内容は個人の見解であり、所属する企業を代表するものではありません.
https://ayuina.github.io/ainaba-csa-blog/
8 stars 1 forks source link

Aspnetcore logging update1 #77

Closed ayuina closed 7 months ago

ayuina commented 7 months ago

This pull request includes changes to the aspnetcore-logging/index.md file related to ASP.NET Core application and Azure App Service logging. The changes mainly involve modifications to the text for clarity, the addition of a new section about Azure Container Apps, and updates to the code snippets and their explanations.

Here are the most important changes:

  1. Text modifications for clarity:

    • The explanation of the deployment premise for an ASP.NET Core application has been expanded to include Azure Container Apps.
    • The section about increasing the amount of logs has been renamed to clarify that it's about obtaining logs output by class libraries.
    • The explanation of how ASP.NET Core automatically outputs logs has been clarified.
  2. Code snippet updates:

    • The code snippet in the loglevel: カテゴリー名[eventid] section has been updated to improve the readability of the log output.
    • The code snippet in the app.UseHttpLogging(); section has been updated to improve the explanation of the HTTP level communication log.
  3. New section about Azure Container Apps:

    • A new section about checking logs in Azure Container Apps has been added. This section explains how to check logs in the log stream, how to change the log level filter using environment variables, how to customize the Console log provider, and how to view logs in Application Insights.
  4. Other changes:

    • The reference links in the title: ASP.NET Core アプリケーションと Azure App Service のログ出 section have been updated to include a link to Azure Container Apps monitoring.
    • The explanation of the importance of categories and filters in logging has been updated for better understanding.
    • The explanation of how to change log settings using environment variables has been updated to include more details.