Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Abandoned
-
2.13.2
-
None
-
None
Description
the input string is {"id":"123","name":{}},if the value of name is empty,the called API org.apache.logging.log4j.core.config.LoggerConfig#log(java.lang.String, java.lang.String, org.apache.logging.log4j.Marker, org.apache.logging.log4j.Level, org.apache.logging.log4j.message.Message, java.lang.Throwable) will transfer the message to {"id":"123","name":{id=123, name={}}}。so when after we called the API org.slf4j.spi.LocationAwareLogger#log,the output log is not the same as the input we expected.