How to enable debug log in Jira

Subhajit Bhuiya September 25, 2018

I have a new plugin installed in Jira. I have a file name XYZ.java. There we have done the logging like this

 

private static final Logger log = LoggerFactory.getLogger(XYZ.class);

log.debug("Hello World");

 

Now my question is what I need to do so that the jira.log will have entry for "Hello World".

 

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2018

Hello,

You need to go to System->Logging and Profiling. Push the Configure button, enter the name of the XYZ class, choose Debug level and push ok. Then you will see logs in atlassian-jira.log

Subhajit Bhuiya September 25, 2018

Thank you.

Pieter Kuppens
Contributor
July 22, 2019

@Alexey Matveev , where would I find Logging and Profiling in Jira Cloud nowadays?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2019

It is still there if you are on Jira Server/Data center

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events