Log4jLog
needs to re-resolve ExtendedLogger
on deserialization (for compatibility with Log4J 2.21)
#31582
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Log4J 2.21 holds a
ThreadLocal
instance in a non-transient field which breaks serialization behind our Commons Logging adapter. Since we re-resolve the delegate on deserialization for SLF4J already, we should do the same for Log4J.The text was updated successfully, but these errors were encountered: