Hi Matt,
Thanks , after removing slf4j, logging starts.
Thanks,
Varun
On Wednesday, 21 October 2020 at 22:50:31 UTC+5:30 varun...@gmail.com wrote:
> Hi,
>
> code is at https://github.com/varun-vikas/Jenkins_plugin
> @matt should I remove sl4j and only use log4j2 and try again
; > Thanks
> > Tim
> >
> > On Wed, 21 Oct 2020 at 17:19, varun...@gmail.com
> wrote:
> >>
> >> Hi Matt,
> >> all dependencies are as below:
> >>
> >>
> >>
> >> org.apache.httpcomponents
> >> httpcl
UTC+5:30 varun...@gmail.com wrote:
> Hi,
>
> Below are details of maven dependency which i have included
>
> org.apache.logging.log4j
> log4j-api
> 2.11.0
>
>
> org.apache.logging.log4j
> log4j-core
> 2.11.0
>
>
> org.apache.logging.log4
wrote:
> Do you also have log4j-core in your plugin? What other dependencies do you
> have?
>
> On Wed, Oct 21, 2020 at 9:48 AM varun...@gmail.com
> wrote:
> >
> > Hi Matt,
> >
> > Thanks for reply.
> > I am running mvn hpi:run for running jenkins loc
hat specifies a log4j2
> config which probably overrides anything you're using.
>
> On Wed, Oct 21, 2020 at 9:04 AM varun...@gmail.com
> wrote:
> >
> > Hi,
> >
> > I am trying to use Log4j2 for looging in jenkins plugin , as it includes
> some jar file
Hi,
I am trying to use Log4j2 for looging in jenkins plugin , as it includes
some jar file,
which uses log4j2 for logging.
when I independently run jar, logging is working fine.
But when I include jar in jenkins Plugin, it is not logging any log.
What may be issue, i have also kept log4j2 propert