Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Getting Information messages when set to Warning. #5

Closed
runxc1 opened this issue Dec 15, 2016 · 3 comments
Closed

Getting Information messages when set to Warning. #5

runxc1 opened this issue Dec 15, 2016 · 3 comments

Comments

@runxc1
Copy link

runxc1 commented Dec 15, 2016

I have an Azure website that is running on Asp.Net Core 1.1. The site is using the Extension "UseAzureAppService" (see below) to set up logging. On the web application I have been able to turn on the "Application Logging(Blob)" under the Diagnostic logs and have set the level to warning. The only problem is the log file is getting flooded by Information messages. Is this an error in the code or something I haven't set up correctly?

         public static void Main(string[] args)
        {
            var host = new WebHostBuilder()
                .UseKestrel()
                .UseContentRoot(Directory.GetCurrentDirectory())
                .UseAzureAppServices()
                .UseStartup<Startup>()
                .Build();

            host.Run();
        }
@runxc1
Copy link
Author

runxc1 commented Dec 16, 2016

It appears that I am not the only one getting this Issue as it appears related to this issue

aspnet/Logging#517

@muratg muratg added this to the 1.1.1 milestone Jan 10, 2017
@muratg
Copy link

muratg commented Jan 10, 2017

@pakrym Could you investigate? If there's a bug, this is possibly a 1.1.1 fix.

@Eilon
Copy link
Member

Eilon commented Jan 19, 2017

This patch bug is approved. Please use the normal code review process w/ a PR and make sure the fix is in the correct branch, then close the bug and mark it as done.

@pakrym pakrym added 3 - Done and removed 1 - Ready labels Feb 9, 2017
@pakrym pakrym closed this as completed Feb 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants