The issue was reported by @piecebook in https://github.com/apache/logging-log4j2/discussions/2233 discussion.