sita-martin opened a new issue, #225:
URL: https://github.com/apache/logging-log4net/issues/225

   Until v2.0.17 exceptions were written with the start element  
_<log4j:throwable>_ in an XML. Since version 3.0.0 this has changed to 
_<log4j:data>_.
   i.e.
   v2.0.17
   `<log4j:data>System.TimeoutException: throw timeout</log4j:data>` 
   v3.0.3
   `<log4j:throwable>System.TimeoutException: throw timeout</log4j:throwable>`
   
   In my opinion this not correct and has to be changed back.
   Line 224 in the XmlLayoutSchemaLog4J.cs:
   `writer.WriteStartElement("log4j:throwable", "log4j", "data", "log4net")` => 
IMHO not correct
   `writer.WriteStartElement("log4j:throwable", "log4j", "throwable", 
"log4net")` => correct
   
   Thanks for any feedback.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to