Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,125
Community Members
 
Community Events
168
Community Groups

How to add more data to the Log4J.properties file

Bryan Ko I'm New Here Aug 18, 2022

Currently have appended to the log4j.properties file to create a log file for Scriptrunner. 
However, I would like to see more information other than just the username.

log4j.appender.ScriptRunnerLogger.layout.ConversionPattern=%d %t %p %X{jira.username} [%c{4}] %m%n

Is there any way to get access to more data for this conversion pattern including Project, Issue Type, Issue Id, etc. 
Just more meta data other than just the username.

0 comments

Comment

Log in or Sign up to comment