Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How can I disable logging of JIRA STATS?

Edited

Hi,

DEBUG level logging of JIRA STATS is annoying, but I do not see where I change the log level or prevent logging of JIRA STATS.

The KB article https://confluence.atlassian.com/jirakb/jira-stats-logs-1041078856.html tells a lot, but not how to enable or disable this logging that I would only enable in certain situations, but not by default!

I want to emphaze that I expect also this log configuration to be found in the Logging and Profiling section of the Admin GUI, not in a file as system property, since I am not an IT admin with access to OS level.

Thanks

Frank

 

 

3 answers

I found that adding the following to $JIRA_HOME/atlassian-jira/WEB-INF/classes/log4j2.xml seems to stop most of the statistics logging:

<Logger name="com.atlassian.jira.util.stats" level="WARN" additivity="false"><AppenderRef ref="filelog"/></Logger>
<Logger name="com.atlassian.jira.index" level="WARN" additivity="false"><AppenderRef ref="filelog"/></Logger>
<Logger name="com.atlassian.jira.issue.index" level="WARN" additivity="false"><AppenderRef ref="filelog"/></Logger>
<Logger name="com.atlassian.jira.index.ha" level="WARN" additivity="false"><AppenderRef ref="filelog"/></Logger>
<Logger name="com.atlassian.jira.versioning" level="WARN" additivity="false"><AppenderRef ref="filelog"/></Logger>

If you don't have filesystem access as an admin, you can go and add these packages by using the "Configure logging level for another package" link on the admin "Logging and Profiling" page (use the package name as what is shown under each of the "name" attributes above, and configure each for WARN level). Note, however, that this will not persist across Jira server restarts.

Hello dear community and Atlassian experts,

Is there someone who can answer my question, please?

Any hint is appreciated!

Frank

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.5
TAGS
AUG Leaders

Atlassian Community Events