You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handling of multiple resources found for a given path is currently limited to two modes - ERROR and WARN. This can be restrictive where more nuanced handling might be necessary, such as in our case where we use custom ResourceAccessors and ClassLoaders. Our scenario involves custom handling for duplicate changelogs that bypasses the seachPath, but we still need to use the ResourceAccessor methods that currently trigger warnings, flooding our logs. Introducing additional modes to adjust the log level could provide better flexibility.
Steps To Reproduce
Set liquibase.duplicateFileMode to GlobalConfiguration.DuplicateFileMode.WARN, will result in warning logs.
Expected/Desired Behavior
No concerns about this current behaviour, however adding additional modes would allow for greater flexibility.
Liquibase Version
4.27.0
Database Vendor & Version
mysql 8.0.34
Liquibase Integration
maven
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
Windows
Additional Context
No response
Are you willing to submit a PR?
I'm willing to submit a PR (Thank you!)
The text was updated successfully, but these errors were encountered:
Thank you for raising this improvement issue. We invite you to submit a PR with your proposed changes, I think that would be ok while extending the current implementation. Please let us know if you have any questions about it.
Search first
Description
Handling of multiple resources found for a given path is currently limited to two modes - ERROR and WARN. This can be restrictive where more nuanced handling might be necessary, such as in our case where we use custom ResourceAccessors and ClassLoaders. Our scenario involves custom handling for duplicate changelogs that bypasses the seachPath, but we still need to use the ResourceAccessor methods that currently trigger warnings, flooding our logs. Introducing additional modes to adjust the log level could provide better flexibility.
Steps To Reproduce
Set
liquibase.duplicateFileMode
toGlobalConfiguration.DuplicateFileMode.WARN
, will result in warning logs.Expected/Desired Behavior
No concerns about this current behaviour, however adding additional modes would allow for greater flexibility.
Liquibase Version
4.27.0
Database Vendor & Version
mysql 8.0.34
Liquibase Integration
maven
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
Windows
Additional Context
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: