[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2017-03-03 Thread robcube
Github user robcube commented on the issue:

https://github.com/apache/log4net/pull/16
  
Bingo, found the culprit:
```

  

```

Changed it to
` `

Problem solved. :-) I guess XmlLayoutSchemaLog4j isn't quite there yet.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2017-03-02 Thread NachbarsLumpi
Github user NachbarsLumpi commented on the issue:

https://github.com/apache/log4net/pull/16
  
I guess that writing xml tags that include a namespace results in the 
observed exception. Few people use xml layouts for logs, so this might be a 
regression or an incompatibility that shows itself only with .net core. Would 
you please create an issue for this so that we can track it better? I encourage 
you further to investigate in this.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2017-03-02 Thread robcube
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)
```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-12-05 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
I've spelled out 
https://github.com/apache/log4net/blob/6e8c0db1407a398fa64d72f89cf6b460ad209808/src/site/xdoc/release/framework-support.xml#L578
 which will become visible at 
http://logging.apache.org/log4net/release/framework-support.html once we cut 
the release. Also I'll make sure I list those limitations in the release notes 
and the announcement mail.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-12-04 Thread SeanSnyders
Github user SeanSnyders commented on the issue:

https://github.com/apache/log4net/pull/16
  
Right, okay.
Yes a a list of things not working would be great.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-12-04 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
Yes, that seems to be expected as 
`src/Util/PatternStringConverters/EnvironmentFolderPathPatternConverter` is 
among the excludes in 
https://github.com/apache/log4net/blob/trunk/netstandard/log4net/project.json#L32

We really need to document what is known to not work with .NET Core.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-12-02 Thread SeanSnyders
Github user SeanSnyders commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig I can confirm that the dependencies now seem to be solved, thanks.

But I get that the my log file pattern does not seem to work using the 
`envFolderPath`


![image](https://cloud.githubusercontent.com/assets/1384135/20846408/57da2df8-b92e-11e6-9fb9-0e8604494f60.png)

Is that a known issue? Any workarounds etc?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-12-02 Thread SeanSnyders
Github user SeanSnyders commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig Great, I'll try it again.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-12-02 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
@SeanSnyders I've updated the package at 
https://www.myget.org/feed/log4net-test/package/nuget/log4net (overwritten the 
original one)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
I think c661441 holds the necessary changes. Unfortunately assembling the 
release bits for log4net still requires two different VMs and about an hour of 
time, so I may need a few days before I can re-create the package.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
The [nuspec](https://github.com/apache/log4net/blob/trunk/log4net.nuspec) 
doesn't list any dependencies, this is because all dependencies of log4net are 
part of the framework for the Mono and .NET versions.

Re-reading the nuspec schema we probably need to add a dependency `group` 
with the `targetFramework` set properly.  I'll try to see what the nuspec 
created with `dotnet pack` looks like.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread SeanSnyders
Github user SeanSnyders commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig Yeah, I'm also trying to get my head around .Net Core project 
setup. Things have been quite a bit in flux!

I think one will need to spec the dependencies, no? I could have it by the 
tail, though
I'll try the other build you linked to as well.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
Many thanks @SeanSnyders . You are the first one actually given the 
binaries a try - or the first one who tells us so.

I've built the myget package using .NET Core 1.0.0 (SDK Preview 2), I 
really hope we don't need to provide assemblies built for different .NET Core 
1.x versions.

As for dependencies of the package, I didn't add any for the .NET Core 
version, maybe I should have. To be honest I'm far from an expert WRT .NET Core.

A preview build of the traditional distributions can be found in 
http://stefan.samaflost.de/staging/log4net-2.0.6/log4net-2.0.6-bin-newkey.zip - 
this contains the pdb file.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-11-29 Thread SeanSnyders
Github user SeanSnyders commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig I've downloaded[ your 2.0.6 version from myget 
](https://www.myget.org/feed/log4net-test/package/nuget/log4net )but get an 
exception thrown during init of my logger in a NetCoreApp 1.1.0 application 
targeting win10-x64.

Now, I'm a bit new to .Net Core, but my same code runs fine using latest 
2.0.5 on .Net 4.6.1.

Any chance of getting a `.pdb` of 2.0.6 so I can dig a bit deeper into 
where the exception occur with a sensible stack trace?

At a high level, I get these:

![image](https://cloud.githubusercontent.com/assets/1384135/20736496/d16db8a8-b70b-11e6-9926-242928f7f20e.png)

in my code on line 176  here:

![image](https://cloud.githubusercontent.com/assets/1384135/20736483/b6817fa2-b70b-11e6-9c00-cb9b179d99a1.png)

If I add the dependency of `System.Collections.NonGeneric 4.3.0` to my 
`project.json`, I still get an exception of:

![image](https://cloud.githubusercontent.com/assets/1384135/20736578/4d63a936-b70c-11e6-822b-f69e20e9a6b2.png)

Is the nuget package for 2.0.6 specifying all the dependencies? What am I 
missing here?






---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-10-14 Thread derFunk
Github user derFunk commented on the issue:

https://github.com/apache/log4net/pull/16
  
Awesome, thanks.

I shared your cry for help on [Hacker 
News](https://news.ycombinator.com/item?id=12708507), maybe this gets some 
traction. Also you should maybe also add log4net here: 
http://up-for-grabs.net/#/tags/logging.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-10-14 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
OK, myget was simpler that I had expected. at least for a one-off 
publication: 
https://lists.apache.org/thread.html/ec7f65499d6c82e509a7ab6d51c1d657679beeb9f29bb78806f72d0a@%3Clog4net-dev.logging.apache.org%3E


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-10-14 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
@derFunk the mailing list comment was meant to say that there may be things 
going on that one might miss when not following the list. I must admit there 
isn't that much going on: 
https://blogs.apache.org/logging/entry/apache_log4net_needs_help

As for packages, I'm sorry, we're not prepared for that. We will be 
publishing the final release to nuget but the current test build looks like a 
real release internally, so we can't publish it there. I'd need to make myself 
familiar with myget first.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-10-14 Thread derFunk
Github user derFunk commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig sorry for not using the mailing list ;) one last thing: I'd love 
to test basically right now. I don't have a public NuGet repo at hands, would 
it be possible for you to push it somewhere? NuGet.org/MyGet.org? I can test 
with my private repo until then, but it would be more convenient to have it 
publicly available.

Grüße aus München.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-10-14 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
log4net development is coordinated via the mailing list :-)


https://lists.apache.org/thread.html/3dafd7f063d6106ca9ca20379f5851a10e1588e9d1ce955d23e93a62@%3Clog4net-dev.logging.apache.org%3E

a test build has been available for about two weeks now, with nobody 
testing it, or so it seems.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-10-14 Thread derFunk
Github user derFunk commented on the issue:

https://github.com/apache/log4net/pull/16
  
AFAIU it seems we could have a NuGet package release already, or at least a 
pre-release.
Is there anything else open we can help?
Unfortunately only the NuGet repo owner can push.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-10-03 Thread NachbarsLumpi
Github user NachbarsLumpi commented on the issue:

https://github.com/apache/log4net/pull/16
  
It is done when it is done. If you need it anytime sooner, get involved.

On 3 Oct 2016 4:22 p.m., "Ibrar Mumtaz"  wrote:

> Hi, do you guys have a release date for the new package? 2.0.6?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> , or 
mute
> the thread
> 

> .
>



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-10-03 Thread iby-dev
Github user iby-dev commented on the issue:

https://github.com/apache/log4net/pull/16
  
Hi, do you guys have a release date for the new package? 2.0.6?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-27 Thread wjdavis5
Github user wjdavis5 commented on the issue:

https://github.com/apache/log4net/pull/16
  
Oh I see, I misread that their chart there. Thanks for clarifying.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-27 Thread chlowell
Github user chlowell commented on the issue:

https://github.com/apache/log4net/pull/16
  
Targeting `netstandard1.6` here is more limiting than useful. Doing so 
would remove support for current UWP apps, and the larger API surface won't 
light up any major features.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-27 Thread wjdavis5
Github user wjdavis5 commented on the issue:

https://github.com/apache/log4net/pull/16
  
Following the MSFT release yesterday - 
https://blogs.msdn.microsoft.com/dotnet/2016/09/26/introducing-net-standard/

It looks like this should be bumped to Net Standard 1.6
I did so locally and the build output is good, I'll PR back to this fork to 
hopefully get this PR updated.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-27 Thread wjdavis5
Github user wjdavis5 commented on the issue:

https://github.com/apache/log4net/pull/16
  
Hello, we are very patiently awaiting this next release. Thank you for 
putting this together.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-13 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
Thank you very much @chlowell 

@TAGC the code is in Apache's svn trunk and has been integrated with the 
build system by now. There are some lose ends and the biggest task is likely 
updating all documentation but I'm positive we aren't that far away from 
cutting the next release of log4net which will also include the .NET Core 
version. "not that far" may still get measured in weeks rather than days, 
though. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-13 Thread TAGC
Github user TAGC commented on the issue:

https://github.com/apache/log4net/pull/16
  
That's for the info. 👍 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-13 Thread TAGC
Github user TAGC commented on the issue:

https://github.com/apache/log4net/pull/16
  
How far along is the .NET Core migration? I'm planning to migrate one of my 
projects that currently targets .NET Framework 4.5.2 to .NET Core and one of 
its dependencies is Log4Net. I only use `ColoredConsoleAppenders` and 
`RollingFileAppenders` - are these still available in the version targeting 
.NET Core?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-13 Thread chlowell
Github user chlowell commented on the issue:

https://github.com/apache/log4net/pull/16
  
No, there are significant differences. My first post details some important 
ones.

.NET Framework 4.6 implements `netstandard1.3`. This means it exposes all 
the APIs specified by `netstandard1.3` (and below). However, in terms of 
exposed APIs, `netstandard1.3` is a subset of .NET Framework 4.6. The latter 
exposes many APIs not specified by the former.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-13 Thread chlowell
Github user chlowell commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig I chose the version number to prevent any confusion between 
prerelease and published packages. There's no reason not to change it before 
release.

I chose `netstandard1.3` because it's the lowest version with the required 
APIs. Targeting a higher version than necessary generally brings no benefit. 
For example, UAP 10.0 (the current version) supports `netstandard1.4`. If 
log4net targets `netstandard1.6`, UWP apps won't be able to use it (at least, 
not without a hack). There's more on this in the 
[docs](https://docs.microsoft.com/en-us/dotnet/articles/standard/library#net-platforms-support).

There's no need to worry about overriding--a project targeting .NET 
Framework 4.5 or below won't use the `netstandard1.3` assembly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-13 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
I'm not sure this applies here as we are still creating specific assemblies 
for .NET 2.0 up to 4.5 - and all of them are superior to the .NET Core DLL as 
they provide an ADO.NET appender, for example. The assembly built here is only 
expected to be used for .NET Core. At least that's where I'd have expected it 
to get used.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-12 Thread niemyjski
Github user niemyjski commented on the issue:

https://github.com/apache/log4net/pull/16
  
The lower the .net standard you can target the more places it will run. 1.0 
can run every where (1.0, 1.6, etc). You should be targeting 1.3 here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-09-12 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
@chlowell maybe you can help us with two questions.

Why did you chose netstandard1.3 as target and not, say, netstandard1.6. 
.NET Core 1.0 should provide the later AFAIU.

Why did you chose the version 3.0.0? To me it looks as if 2.1 would be fine 
if we wanted to unify the versions of the nuget package and the assemblies.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-08-13 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
I've just diffed chlowell:log4net-core-pcl against my svn working copy of 
trunk and it looks as if there have been changes after the PR which makes 
identifying misses more difficult. I'll apply #30 and then we can all go from 
there.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-08-13 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
@jasonwilliams200OK, thanks, but too late, I went off fixing it myself 
before I saw you comment. :-)

I'll diff my svn tree against a checkout of @chlowell's original branch to 
verify whether I missed more patch failures. It's pretty strange as I don't 
recall seeing any "hunk failed" messages.

BTW, this is the test result on Linux (Ubuntu 16.04, but I don't think it 
matters):

```
Errors and Failures
1) Failed : 
log4net.Tests.Appender.RollingFileAppenderTest.TestExclusiveLockLocks
  Log contents is not what is expected
  String lengths are both 38. Strings differ at index 0.
  Expected: "This is a message\nThis is a message 2\n"
  But was:  "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0This is a message 2\n"
  ---^
at log4net.Tests.Appender.RollingFileAppenderTest.AssertFileEquals(String 
filename, String contents) in 
/devel/ASF/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs:line 1470
at log4net.Tests.Appender.RollingFileAppenderTest.TestExclusiveLockLocks() 
in /devel/ASF/log4net/trunk/tests/src/Appender/RollingFileAppenderTest.cs:line 
1570
Run Settings
WorkDirectory: /devel/ASF/log4net/trunk/netstandard
Test Run Summary
  Overall result: Failed
  Test Count: 145, Passed: 136, Failed: 1, Inconclusive: 0, Skipped: 8
Failed Tests - Failures: 1, Errors: 0, Invalid: 0
Skipped Tests - Ignored: 8, Explicit: 0, Other: 0
  Start time: 2016-08-13 16:05:11Z
End time: 2016-08-13 16:05:14Z
Duration: 2,964 seconds
Results saved as /devel/ASF/log4net/trunk/netstandard/TestResult.xml
SUMMARY: Total: 1 targets, Passed: 0, Failed: 1.
```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-08-13 Thread jasonwilliams200OK
Github user jasonwilliams200OK commented on the issue:

https://github.com/apache/log4net/pull/16
  
@bodewig, #30 fixed exactly this issue. Can you try with my branch?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-08-13 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
I've installed the Linux version, this is what happens for me:

```
Compiling log4net for .NETStandard,Version=v1.3
/usr/share/dotnet/dotnet compile-csc 
@/devel/ASF/log4net/trunk/netstandard/log4net/obj/Debug/netstandard1.3/dotnet-compile.rsp
 returned Exit Code 1
/devel/ASF/log4net/trunk/src/Appender/FileAppender.cs(164,33): error 
CS0115: 'FileAppender.LockingStream.BeginRead(byte[], int, int, AsyncCallback, 
object)': no suitable method found to override
/devel/ASF/log4net/trunk/src/Appender/FileAppender.cs(175,33): error 
CS0115: 'FileAppender.LockingStream.BeginWrite(byte[], int, int, AsyncCallback, 
object)': no suitable method found to override
/devel/ASF/log4net/trunk/src/Appender/FileAppender.cs(183,25): error 
CS0115: 'FileAppender.LockingStream.Close()': no suitable method found to 
override
/devel/ASF/log4net/trunk/src/Appender/FileAppender.cs(188,24): error 
CS0115: 'FileAppender.LockingStream.EndRead(IAsyncResult)': no suitable method 
found to override
/devel/ASF/log4net/trunk/src/Appender/FileAppender.cs(193,25): error 
CS0115: 'FileAppender.LockingStream.EndWrite(IAsyncResult)': no suitable method 
found to override

Compilation failed.
0 Warning(s)
5 Error(s)
```

I'll double check whether I've missed some changes to `FileAppender`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-08-13 Thread jasonwilliams200OK
Github user jasonwilliams200OK commented on the issue:

https://github.com/apache/log4net/pull/16
  
Fixed the build breakage and feedback in #30.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-08-13 Thread jasonwilliams200OK
Github user jasonwilliams200OK commented on the issue:

https://github.com/apache/log4net/pull/16
  
Thanks a lot @bodewig! I am definitely willing to participate. I will test 
out the master and try to incorporate the feedback in subsequent PR pronto 
(before you start cutting the release :stuck_out_tongue_winking_eye:). I have 
subscribed to log4net-dev mailing list.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-08-13 Thread bodewig
Github user bodewig commented on the issue:

https://github.com/apache/log4net/pull/16
  
Many thanks for your persistence.

I have applied the patch as is as it didn't break anything of the existing 
build. But I haven't even tried to build the .NET Core part itself - I'll do so 
later, and try to figure out how to cut releases that contain the .NET Core 
assembly as well as the current process is centered around NAnt.

I'd like to invite anybody interested in keeping log4net moving to join the 
log4net-dev mailing list and lend a hand. We are severely understaffed and can 
use any help.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] log4net issue #16: (LOG4NET-467) .NET Core support

2016-07-12 Thread chlowell
Github user chlowell commented on the issue:

https://github.com/apache/log4net/pull/16
  
I updated this branch for .NET Core 1.0 rather than creating a new PR. The 
branch name is unfortunate--there's no longer a PCL involved--but I hope 
keeping this open is convenient for those watching.

@arkadiuszwojcik the goal of this PR is to make log4net portable across 
.NET Core platforms. Implementing those abstractions could be useful, but doing 
so wouldn't enable consuming log4net on additional platforms.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---