-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verbose logging even when log level is info #135
Comments
fixes #135 Signed-off-by: sriv <srikanth.ddit@gmail.com>
thanks for raising this. gauge-dotnet 0.3.0 uses a pure c# gRPC implementation, which in turn uses the asp-net core libs to host the server. Raised a fix for this. |
Just realized that #132 is also related. |
I've noticed similar behavior with gauge-dotnet 0.3.1 where the Microsoft.AspNetCore info messages appear in the console output on a normal run.
I then set GAUGE_LOG_LEVEL = DEBUG in my environment and the Microsoft.AspNetCore logging statements did not appear in the console output. This is counterintuitive that the additional logging output is suppressed when enabling debug logging level. I would appreciate any help in resolving this. Thank you! |
This should be fixed in 0.3.1 via Can you please the dotnet plugin is using the latest version? |
@zabil Thank you for the quick response. You are correct, this is fixed in 0.3.1. My apologies. I thought I was running 0.3.1 because I ran gauge update dotnet, but the update had installed 0.3.0. How does 0.3.1 become the version installed when gauge checks for plugin updates? Thank you! |
Ok that explains it and thanks for pointing it out. For some reason the latest plugin version is not updated here https://github.com/getgauge/gauge-repository/blob/master/dotnet-install.json#L4 Need to check that and will push a fix soon. |
Gauge 1.1.7 still won't update dotnet to 0.3.1... :( |
0.3.1 is available at https://github.com/getgauge/gauge-dotnet/releases/tag/v0.3.1 However it's not updated at https://github.com/getgauge/gauge-repository/blob/fa99e41a4afd6a03f21f4ec456aeb789f6352bfc/dotnet-install.json#L4 Please feel free to send a pull request by copying the section related to 0.3.0 and bumping up the version and the download urls to 0.3.1. You just need to make sure that it's a valid json file. |
gauge-dotnet 0.3.1 is added to the repository via getgauge/gauge-repository#63 Am closing this issue, please feel free to comment if this isn't fixed in 0.3.1. |
Since 0.3.0 the console output and log file is filled with these:
Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Microsoft.AspNetCore.Hosting.Diagnostics[1]
For each one there are a couple of more rows belonging to them.
I don't think they should be there for log level info, only debug.
The text was updated successfully, but these errors were encountered: