Are you using the audit-log plugin, too? That specifies a log4j2
config which probably overrides anything you're using.

On Wed, Oct 21, 2020 at 9:04 AM varun...@gmail.com
<varunvik...@gmail.com> wrote:
>
> 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 properties file in resources 
> folder, still not able
> to log. can anyOne please help me here?
>
> Thanks,
> Varun
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/97b5066e-c2c3-48a4-b316-12152bf390cen%40googlegroups.com.



-- 
Matt Sicker
Senior Software Engineer, CloudBees

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAEot4oxiXtyOJ42dL1X3x5S2YyB%2BuFpx7PYkmihmGewu4ohrkw%40mail.gmail.com.

Reply via email to