Re: New Jira Account

2017-09-20 Thread 'Achim Nierbeck' via OPS4J
Hi, done and welcome aboard :) regards, Achim 2017-09-20 13:08 GMT+02:00 Asma Zinneera Jabir : > Hi > > Will i be able to get a Jira Account created? I cannot comment on issues > without an account. > > Thanks > Asma > > -- > -- > -- > OPS4J -

Re: PaxLogging: org.ops4j.pax.logging.log4jv2.Log4jv2LoggerContext cannot be cast to org.apache.logging.log4j.core.LoggerContext

2017-09-20 Thread Grzegorz Grzybek
Hmm The org.apache.logging.log4j.core.config.Configurator#setLevel() which is part of the stack trace only puts single logger configuration (if it's not present). But I think it's possible to use pax-logging to achieve what you want. Don't use Log4j facilities (like LogManager.getContext()).

Re: PaxLogging: org.ops4j.pax.logging.log4jv2.Log4jv2LoggerContext cannot be cast to org.apache.logging.log4j.core.LoggerContext

2017-09-20 Thread Grzegorz Grzybek
Hello The exact explanation is: org.apache.logging.log4j.core.LoggerContext#getContext() method explicitly casts org.apache.logging.log4j.LogManager#getContext() result (which by declaration is interface org.apache.logging.log4j.spi.LoggerContext) to org.apache.logging.log4j.core.LoggerContext

Re: PaxLogging: org.ops4j.pax.logging.log4jv2.Log4jv2LoggerContext cannot be cast to org.apache.logging.log4j.core.LoggerContext

2017-09-20 Thread Asma Zinneera Jabir
I am facing the same issue when trying to get the context using LoggerContext ctx = (LoggerContext) LogManager.getContext(). Is there a way to get the context from spi.LoggerContext in pax-logging?? On Wednesday, August 9, 2017 at 9:00:12 PM UTC+5:30, Jérémie Brébec wrote: > > Hello, > > I am