How can a Plugin can be customized to log in Jira server log i.e (atlassian-jira.log)?

What log API needs to be used?
- apache
- sl4j
- Altlassian

Which log4j.properties file do we need to refer in pom.xml?
- A custom one
or
- An existing Jira one

Things I tried
- Admin logging and profiling
- modifying log4j.properties of plugin and Jira server log4j.properties.

I’ve always used the approach outlined in this document with great success: https://developer.atlassian.com/server/confluence/logging-guidelines/

1 Like