Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Disable debug logs

Eddy Fras
Contributor
September 3, 2018

Hi,

When I install a Jira server (7.6) with default settings (no change made in log4j.properties file), I get a lot of debug messages in catalina.out log file. 

For example, when reindexing my data, I have thousands and thousands of :

2018-09-03 11:42:42,951 IssueIndexer:thread-4 DEBUG xxx@xxx.com 673x748x1 vodxil 192.168.1.10 /secure/admin/IndexReIndex.jspa [com.acme.CreateSubtask] username nul

It seems catastrophic for perfomances, a full reindex takes almost an hour with a locked database ...

I guess this is related to these entries in log4j.properties files :

log4j.appender.console.Threshold=DEBUG

...

log4j.appender.nowarnconsole.Threshold=DEBUG

Why these loggers are set to DEBUG by default ?

Thanks,

Eddy

 

0 answers

Suggest an answer

Log in or Sign up to answer