Skip to content
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

Ensure JUL OFF level is respected in liquibase logger #21

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

mattbertolini
Copy link
Owner

@mattbertolini mattbertolini commented Nov 19, 2024

Motivation

An issue was found where the JUL OFF level was being logged at the error level. This is due to how the log level is determined using integer value checks. The ERROR level is the fallback when it should not be.

Modifications

A reproducer test was written for the issue and the ERROR threshold was checked to fix the issue. The OFF level is now the fallback which does nothing.

Result

The result is the JUL OFF level is now respected.

Motivation
----------

An issue was found where the JUL OFF level was being logged at the error level. This is due to how the log level is determined using integer value checks. The ERROR level is the fallback when it should not be.

Modifications
-------------

A reproducer test was written for the issue and the ERROR threshold was checked to fix the issue. The OFF level is now the fallback which does nothing.

Result
------

The result is the JUL OFF level is now respected.
@mattbertolini mattbertolini marked this pull request as ready for review November 20, 2024 00:29
@mattbertolini mattbertolini merged commit 1735b74 into main Nov 20, 2024
3 checks passed
@mattbertolini mattbertolini deleted the feature/5.1.0-fix-release branch November 20, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant