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

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 Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

35 views 1 2
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot