chucknorris/roundhouse

Enhancement: Remove Dependency on log4Net

ferventcoder opened this issue · 5 comments

RH should use log4net if it is there, but not depend on it. This applies only to the DLL versions of roundhouse (msbuild and lib)

Related to this is that the version of log4net seems to be explicitly set in Roundhouse.Tasks. I have 1.2.11 in my project due to another dependency, but it appears Roundhouse.Tasks required 1.2.10 because a specific version is set in the project file.

How soon until this might be updated? I can't build my site with Roundhouse in it at this time.

I would move the roundhouse dependencies you have off to another project in the meantime. I have plans to finish this in the second quarter.

Liwoj commented

Hi
I personally don't have a problem with log4net dependency (i'm only using console app)

Just wanted to mention there is pretty good way of abstracting logging more and more libraries are using and thats LibLog

Thanks for the heads up.

I think migrating to using Microsoft.Extensions.Logging.ILogger would be the preferred way to go now. Combined with proper structured logging (e.g using Serilog).