logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4NET-467) Is .NET Core, will be supported in the near future, or not
Date Thu, 02 Mar 2017 21:47:45 GMT

    [ https://issues.apache.org/jira/browse/LOG4NET-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893084#comment-15893084
] 

ASF GitHub Bot commented on LOG4NET-467:
----------------------------------------

Github user robcube commented on the issue:

    https://github.com/apache/log4net/pull/16
  
    Getting a weird error using .net core 1.1:
    ```
    var logRepository = LogManager.GetRepository(Assembly.GetEntryAssembly());
    XmlConfigurator.ConfigureAndWatch(logRepository, new FileInfo("log4net.config.xml"));
    ILog Log = LogManager.GetLogger(typeof(Program));
    Log.Debug("hey!");
    ```
    at last line results in:
    ```
    System.ArgumentException: Invalid name character in 'log4j:event'. The ':' character,
hexadecimal value 0x0x3A, cannot be included in a name.
       at System.Xml.XmlWellFormedWriter.CheckNCName(String ncname)
       at System.Xml.XmlWellFormedWriter.WriteStartElement(String prefix, String localName,
String ns)
       at log4net.Layout.XmlLayoutSchemaLog4j.FormatXml(XmlWriter writer, LoggingEvent loggingEvent)
       at log4net.Layout.XmlLayoutBase.Format(TextWriter writer, LoggingEvent loggingEvent)
       at log4net.Appender.FileAppender.Append(LoggingEvent loggingEvent)
       at log4net.Appender.AppenderSkeleton.DoAppend(LoggingEvent loggingEvent)
    ```



> Is .NET Core, will be supported in the near future, or not
> ----------------------------------------------------------
>
>                 Key: LOG4NET-467
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-467
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.2.13
>            Reporter: san kan
>              Labels: features
>             Fix For: 2.0.6
>
>         Attachments: LOG4NET-467.patch
>
>
> As you know, ms is moving heavily toward .Net core:
> https://github.com/dotnet/core
> so, is there a road map for making a version that supports it?
> and i noticed that log4net, has not been updated for 2 years.
> so is it maintained, or being forgotten?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message