On this document, it shows how to enable http access logging via gui but the setting is lost after a server restart.
https://confluence.atlassian.com/jira/user-access-logging-121565.html
How can this setting be enabled via a property or file change? We are managing our JIRA configs with puppet and need this setting to be programmatically managed.
Note: I see you can enable tomcat access logs in the server.xml but I'm asking specifically about these JIRA http access logs.
Looks like we I found the answer.
JIRA_INST/atlassian-jira/WEB-INF/classes/log4j.properties
contains the following values and you would have to change OFF to ALL for the ones you want.
##################################################### # Access logs ##################################################### log4j.logger.com.atlassian.jira.web.filters.accesslog.AccessLogFilter = OFF, httpaccesslog log4j.additivity.com.atlassian.jira.web.filters.accesslog.AccessLogFilter = false log4j.logger.com.atlassian.jira.web.filters.accesslog.AccessLogFilterIncludeImages = OFF, httpaccesslog log4j.additivity.com.atlassian.jira.web.filters.accesslog.AccessLogFilterIncludeImages = false log4j.logger.com.atlassian.jira.web.filters.accesslog.AccessLogFilterDump = OFF, httpdumplog log4j.additivity.com.atlassian.jira.web.filters.accesslog.AccessLogFilterDump = false
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.