[
https://issues.apache.org/jira/browse/LOG4NET-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480868#comment-17480868
]
Andrea commented on LOG4NET-683:
--------------------------------
Hi [~santjo]
yes, looking at the code it looks like the suggested fix in LOG4NET-586 to
change code from
{code:java}
writer.WriteStartElement("log4j:event"); {code}
to something like
{code:java}
writer.WriteStartElement("event", "log4j"); {code}
was implemented in 2.0.13 and this may now work on .NET Core but may have
broken .NET Framework compatibility.
This is the reason why I suggested the link between the two items.
Hope this clarifies a bit my cryptic comment above.
A
> UdpAppender is no longer supported for .Net Framework!?
> -------------------------------------------------------
>
> Key: LOG4NET-683
> URL: https://issues.apache.org/jira/browse/LOG4NET-683
> Project: Log4net
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.0.14
> Environment: Windows10, .NET Framework 4.72,
> Reporter: Stojan Andjelkovic
> Priority: Major
>
> Follow configuration works (log messages are sent) only for .NET Core but
> not for .NET Framework anymore:
>
> {{{}<{}}}{{{}appender{}}} {{{}name{}}}{{{}={}}}{{{}"UdpAppender"{}}}
> {{{}type{}}}{{{}={}}}{{{}"log4net.Appender.UdpAppender"{}}}{{{}>{}}}
> {{{} <{}}}{{{}param{}}} {{{}name{}}}{{{}={}}}{{{}"RemoteAddress"{}}}
> {{{}value{}}}{{{}={}}}{{{}"127.0.0.1"{}}} {{/>}}
> {{{} <{}}}{{{}param{}}} {{{}name{}}}{{{}={}}}{{{}"RemotePort"{}}}
> {{{}value{}}}{{{}={}}}{{{}"4445"{}}} {{/>}}
> {{{} <{}}}{{{}layout{}}}
> {{{}type{}}}{{{}={}}}{{{}"log4net.Layout.XmlLayoutSchemaLog4j,
> log4net"{}}}{{{}>{}}}
> {{{} <{}}}{{{}param{}}} {{{}name{}}}{{{}={}}}{{{}"LocationInfo"{}}}
> {{{}value{}}}{{{}={}}}{{{}"true"{}}} {{/>}}
> {{{} </{}}}{{{}layout{}}}{{{}>{}}}
> {{{} <{}}}{{{}param{}}} {{{}name{}}}{{{}={}}}{{{}"Encoding"{}}}
> {{{}value{}}}{{{}={}}}{{{}"utf-8"{}}} {{/>}}
> {{{}</{}}}{{{}appender{}}}{{{}>{}}}
> The problem exists since version 2.0.13
--
This message was sent by Atlassian Jira
(v8.20.1#820001)