How to logging in jira plugin code?

nagendra hegde
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 25, 2021

Hi,

 

We are trying to develop a jira plugin and we have successfully developed it in java and have tested on jira too.

But now we want to introduce logging in the plugin, so that we can check what is going on in the server by the log files.

How to do it? We have tried:
- slf4j logging
- log4j
- java.util.logger as well.

None of the above loggers are printing the log statement in Atlassian-jira.log file.

Please help us out.

 

Thanks,
Nagendra

0 answers

Suggest an answer

Log in or Sign up to answer