It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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?

Thanks.

2 answers

1 accepted

0 votes
Answer 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 https://thepluginpeople.atlassian.net/wiki/display/JEMH/Installation%2C+Setup+and+Logging page and modify your JIRA_HOME/WEB-INF/classes/log4j.properties 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
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you