The "enable http access logs" in JIRA defaults to OFF after every restart, how do I force it to stay enabled?

NathanG
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2015

I'd love to keep the http access logs enabled even after a JIRA restart.  How do I do this?

Thanks~!

1 answer

2 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2015

You can enable it permanently in log4j.properties residing under JIRA_INSTALL/atlassian-jira/WEB-INF/classes directory.

Look for the following and change to ON.

log4j.logger.com.atlassian.jira.web.filters.accesslog.AccessLogFilter = OFF, httpaccesslog
Johannes Stadler December 5, 2019

Just for future reference: ON is not a valid log4j log level - use ALL instead.
See https://logging.apache.org/log4j/2.x/manual/customloglevels.html for a table of levels.

Suggest an answer

Log in or Sign up to answer