ITADN

YamlConfigurationFactory doesn't work with Jackson 3.x

#4106Openmarco-brandizi 创建于 2026-04-23
waiting-for-maintainer
M
marco-brandizicommented
Hi all, I've had the bad idea of migrating my project to Jackson 3.1.2 and now `org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory` doesn't work, mainly because it depends on `com.fasterxml.jackson.*`, while the new library has migrated to the `tools.jackson.*` namespace. Has anyone started a migration of this? If not, I'd be interested in writing an additional plugin (not a replacement) to add this support. Is that hard? Could someone give me some pointers on how to do it. I understand I would need new versions of `YamlConfigurationFactory` and `YamlConfiguration`. Do I need to consider other classes? How do `@Plugin`, auto-config and related stuff work? Thanks. Thanks, Marco.
0 条评论