I'm trying to do something fairly simple (I think) in the JIRA server logs... I'm simply trying to modify the log4j output to include the user's email instead of the user's id. For example, in the log4j.properties file, the following line can be found:
%d{yyyy-MM-dd HH:mm:ss,SSSZ} %t %p %X{jira.username} %X{jira.request.id} %X{jira.request.assession.id} %X{jira.request.ipaddr} %X{jira.request.url} [%q{2}] %m%nIs there any documentation on what JIRA variables are available for the conversion pattern %X. I'm trying to replace %X{jira.username} by a variable that would give me the user's email address.
I've tried %X{jira.emailAddress} but the output is simply blank.
Appreciate the help and time!