Code Monkey home page Code Monkey logo

Comments (11)

urielha avatar urielha commented on May 24, 2024 2

Thanks for the update!
We still need to fix that. I am not familiar enough with dotnet core so I will have to investigate a little bit this issue.

from log4stash.

eran-gil avatar eran-gil commented on May 24, 2024

Hey,
I've tested this library with .net standard and asp.net core and it works very well.
The screenshot you attached shows a warning and not an error.
This should work as it is.
@urielha I think in future versions we should improve that.

from log4stash.

aregaz avatar aregaz commented on May 24, 2024

@erangil2 well, it would work on Windows for sure, but have you tested it on Linux or in Docker? I have the same warnings and I believe it would not work in Docker.

from log4stash.

eran-gil avatar eran-gil commented on May 24, 2024

I actually did test it. I have multiple production services running on OpenShift containers, which is a Linux container, and they are working perfectly with the appended, you should try it yourself 😉

from log4stash.

aregaz avatar aregaz commented on May 24, 2024

I just tested it in Docker on Ubuntu 16.04 - it is working. Hmm... I wonder why compiler show that warning then?

from log4stash.

eran-gil avatar eran-gil commented on May 24, 2024

@aregaz It shows that so in case you have an error of any kind during runtime because of this issue you'll know where to look for it first.
However, it doesn't mean that by default it causes an error.

from log4stash.

mynkow avatar mynkow commented on May 24, 2024

Actually, the warning is shown because versions before 4.7.2 does not fully implement the netstadard2.0 interface. In 98% of the time you are OK.

from log4stash.

hpfan avatar hpfan commented on May 24, 2024

add my test here: currently use log4stash 2.2.1 and target as netcore2.1 will throw warning "Package 'log4stash 2.2.1' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project." during build, and test it works well which record logs.

from log4stash.

uciprian avatar uciprian commented on May 24, 2024

In the package there is no distribution for netstandard

from log4stash.

mynkow avatar mynkow commented on May 24, 2024

@urielha way back we did a hardfork. If it helps you could get anything from there: https://github.com/Elders/log4net.Appender.ElasticSearch

from log4stash.

urielha avatar urielha commented on May 24, 2024

Hi, now it should have :)
Please check version 3.0.0
And thanks to @erangil2 😄

from log4stash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.