Using your own log4j configuration for your plugin
The Atlassian Plugin SDK makes it easy to override the application's
log4j.properties file, so that you can do custom logging for your plugin.
- Create your
log4j.propertiesfile. A simple way to do this is to copy the application's
log4j.propertiesfile and change it to suit your needs.
- Place the
log4j.propertiesfile somewhere in your source tree, for example in
src/aps/log4j.properties('aps' means the Atlassian Plugin SDK).
Now you can run your application via
Was this page helpful?