[
https://issues.apache.org/jira/browse/LOG4NET-419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13896718#comment-13896718
]
Dominik Psenner commented on LOG4NET-419:
-----------------------------------------
Hi Robert,
The idea is great. But in order to integrate your extension into log4net core
there is still some work to be done.
First of all your extension must respect backwards compatibility to old .NET
frameworks (.NET 2.0 and above) or frameworks that do not reference
System.Web.dll (Client profile, Compact Framework,..). This can be achieved
with proper #ifdef's in the right spots. Json serialization will then simply
unavailable on frameworks that do not have the System.Web.dll.
Second please make sure to not conflict with either one of these:
http://logging.apache.org/log4net/release/faq.html#thread-safe
http://logging.apache.org/log4net/release/faq.html#features
and make sure that your code complies to the contributing guidelines:
http://logging.apache.org/log4net/release/faq.html#contributing-guidelines
Once done that we can work on integrating your extension into log4net core. A
patch that applies cleanly on the latest log4net trunk would undoubtedly speed
up that process.
Cheers
> Adding Json layout to support simple integration with nxlog and similar
> destinations
> ------------------------------------------------------------------------------------
>
> Key: LOG4NET-419
> URL: https://issues.apache.org/jira/browse/LOG4NET-419
> Project: Log4net
> Issue Type: New Feature
> Components: Core
> Affects Versions: 1.2.13, 1.3.0
> Reporter: Robert Sevcik
> Labels: patch
> Fix For: 1.3.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Hi,
> I've created an extension which will effectively enable Json logging from
> log4net. It is implemented as a Layout so it can be used with pretty much any
> appender, especially the UDP appender :o). The aim is to enable fast local
> UDP drop off for logs in combination with nxlog. But I took care to allow
> code reuse and flexibility.
> https://sourceforge.net/projects/log4net-json/
> Please help me integrate this into log4net trunk.
> Thanks, Rob
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)