Can I enable JEMH logging without a JIRA restart?

I've followed the recommendations for getting JEMH logging set up. However, it's really inconvenient for our users to restart JIRA. Is there a way to get JEMH to being logging WITHOUT a Jira restart?


2 answers

1 accepted

0 votes
Accepted answer

Auditing can be enabled or disabled on the fly by clicking on the Audit tab, and then selecting enable or disable as appropriate.

Appologies, I should have explained better. When you have brought up the JEMH configuration screen (you need to have JIRA admin priv), you will see at the top of the configuration screen as serious of tabs "Welcome" "Profiles" "Blacklisting" etc. the 10 one over from the left, is "Auditing". Click on that, and you should then see the Audit selection. It will be Green if its enabled, or Red if its disabled.

(If you are using a older version of JEMH, then the tabs are located on the left of your screen, instead of the top of your screen)

Where is the Audit tab? (Sorry, used to an earlier version of Jira. Using v6.1 now.)

Found it. Thanks. (My JIRA is timing out before it will render the auditing page, so I'm going to have to circle back to that.)

Without a restart you can go to JIRA logging and profiling, and add the custom package: com.javahollic.jira.emh at DEBUG level you'll get a lot of traffic in the atlassian-jira-incoming-mail.log but it will be horizontally large, and difficult to manage, potentially with many concurrent processings.

To create a dedicated JEMH logfile, you will need to follow the page and modify your JIRA_HOME/WEB-INF/classes/ file. Such a change does require a restart to take effect.

Adding the package name via JIRA Admin>Logging & profiling will append JEMH log output to the atlassian-jira.log file

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

166 views 3 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you