Log pattern of atlassian-confluence.log

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

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 12 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

95 views 2 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you