kumuluz / kumuluzee

Lightweight open-source framework for developing microservices using standard Java EE technologies and migrating Java EE to cloud-native architecture.
https://ee.kumuluz.com
MIT License
291 stars 71 forks source link

downgrade snakeyaml version due to breakage of log4j2 initialization #156

Closed cen1 closed 4 years ago

cen1 commented 4 years ago

Due to an addition of a Logger.getlogger call in snakeyaml library after v1.18 the log4j2 initialization is broken since the call should not be made until the logging manager is set via system property.

Issue is pending upstream: https://bitbucket.org/asomov/snakeyaml/issues/461/trouble-with-loggergetlogger-call-in

In case of no resolution upstream the log4j2 initialization code will have to be cleverly reworked to detect the log4j2 extension without triggering snakeyaml library.

There were no major changes since version 1.18 so the downgrade should have no negative effect.