Code Monkey home page Code Monkey logo

Comments (4)

grgrzybek avatar grgrzybek commented on May 31, 2024

Hi.
Thanks for the detailed description. I've looked at the way LoggingEventVO is being built and my first idea was to package original LoggingEventVO class and load it using custom classloader, but when I started to gather dependencies for this class it turned out I'd end up with entire logback classic + core + slf4j being hidden inside a JAR just to create properly serialized ch.qos.logback.classic.spi.LoggingEventVO.

My second idea is to use ASM/cglib to create serialized LoggingEventVO, but I'll try this tomorrow.

Maybe it would be easier to add some plugins/jars to Lilith? That's my third idea and I'll see into this soon.

regards
Grzegorz Grzybek

from tomcat-slf4j-logback.

bdellegrazie avatar bdellegrazie commented on May 31, 2024

Hi,
Thank you very much for looking into this. I suspect that the simplest solution may be to add the LoggingEventVO to Lilith directly. I guess this is a direct consequence of serialising a specific class rather than serialising to data standard.
Lilith has the ability to serialise to JSON or XML as well but these also have numerous dependencies likely resulting in the same problem.

Thanks,

Brett Delle Grazie

from tomcat-slf4j-logback.

grgrzybek avatar grgrzybek commented on May 31, 2024

Hi

I'll see what's better - adding full logback-classic+logback-core unshaded,
but hidden from Tomcat's main class loader, adding asm/cglib in an attempt
to generate such class or tweaking Lilith (anyway - thanks for the Lilith -
I didn't knew it!)

regards
Grzegorz Grzybek

2012/9/17 Brett Delle Grazie [email protected]

Hi,
Thank you very much for looking into this. I suspect that the simplest
solution may be to add the LoggingEventVO to Lilith directly. I guess
this is a direct consequence of serialising a specific class rather than
serialising to data standard.
Lilith has the ability to serialise to JSON or XML as well but these also
have numerous dependencies likely resulting in the same problem.

Thanks,

Brett Delle Grazie


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-8632291.

from tomcat-slf4j-logback.

hazendaz avatar hazendaz commented on May 31, 2024

Closing out as it has been two years on this. I looked but could not find any information about Lilith supporting this directly as original commented mentioned might be needed.

from tomcat-slf4j-logback.

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.