The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Log pattern of atlassian-confluence.log

Ismar Slomic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2017

Can anyone help where I can search for the pattern of log statement in atlassian-confluence.log files?

I want to forward this log file to Splunk, and in order to be able to efficiently filter/search on log statements, I need to explain what each part of log statements means.

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Ismar Slomic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2017

I found answer on my own question.

Look after log4j.properties in CATALINA_HOME/confluence/WEB-INF/classes and look at line

log4j.appender.confluencelog.layout.ConversionPattern=%d %p [%t] [%c{4}] %M %m%n

Explanation of the conversation characters can found at log4j documentation, for instance: https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html

BNV TEK
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 29, 2020

Can there be a  more concise explanation to that please?

TAGS
AUG Leaders

Atlassian Community Events