Skip to content

Allow lowercase on logger change endpoint for MVC #7914

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

Conversation

kazuki43zoo
Copy link
Contributor

I've fixed to allow lowercase on logger change endpoint(POST /loggers/{name}) for Spring MVC.
Currently, IllegalArgumentException occur if contains lowercase into log level.

e.g.)

{
    "configuredLevel": "debug"
}

Please review this.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 8, 2017
@snicoll
Copy link
Member

snicoll commented Jan 9, 2017

I did fix that for the JMX endpoint and forgot to apply the same rule to the MVC counterpart. Good catch!

@snicoll snicoll added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 9, 2017
@snicoll snicoll self-assigned this Jan 9, 2017
@snicoll snicoll added this to the 1.5.0 milestone Jan 9, 2017
snicoll pushed a commit that referenced this pull request Jan 15, 2017
snicoll added a commit that referenced this pull request Jan 15, 2017
…ndpoint

* pr/7914:
  Polish contribution
  Allow lowercase logger level on MVC endpoint
@snicoll snicoll closed this in f21c767 Jan 15, 2017
@snicoll
Copy link
Member

snicoll commented Jan 15, 2017

merged, thanks!

@kazuki43zoo kazuki43zoo deleted the allow-lowercase-on-logger-endpoint branch January 15, 2017 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants