Skip to content

Conversation

@bording
Copy link
Member

@bording bording commented Jun 28, 2024

This PR makes the following changes related to logging:

  • Console logging now respects the LogLevel setting. Previously, it was not possible to set it higher than Info.
  • There was a rule to ensure license-related logs at Info or higher would always be logged, but looking through the current codebase, the only Particular.ServiceControl.Licensing logs are Debug or Error, so this rule doesn't seem to be doing anything.
  • The Microsoft.AspNetCore.* and System.Net.Http.HttpClient.* logs are now always set to Warn or higher, cleaning up a lot of noise in the log files.

@bording bording requested review from DavidBoike and boblangley June 28, 2024 20:35
@DavidBoike DavidBoike merged commit 81968d3 into master Jun 28, 2024
@DavidBoike DavidBoike deleted the logging-levels branch June 28, 2024 20:58
@DavidBoike DavidBoike added this to the 5.4.0 milestone Jun 28, 2024
@DavidBoike DavidBoike added the Bug label Jun 28, 2024
@jpalac jpalac changed the title Improve default logging settings Fix default logging settings Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants