Filtering unwanted atlassian-confluence.log warnings...

I've upgraded a Confluence test environment from 3.5.17 -> 4.3.7. Environment is RHEL5, Oracle 11.2.0.3, and using the ojdbc6.jar driver.

Now, whenever I go to a page, I always get a WARN message in the atlassian-confluence.log.

2013-02-11 10:46:24,804 WARN [http-8443-11] [confluence.velocity.introspection.AnnotationBoxingUberspect] lookupMethod Velocity template accessing deprecated method java.sql.Timestamp#getYear - getRenderedContent[line 2, column 53]


I suspect this is a warning that can be ignored, but how to get rid of it the atlassian-confluence.log? (I like to keep on top of my errors and warnings...)

For example, below is a link to get rid of the noise in a log file around an Office Connector plugin and reindexing. Can I use a similiar method for this issue?

https://jira.atlassian.com/browse/CONF-23376

1 answer

1 accepted

modify your log4j configuration and set the level for that particular class on ERROR

Thanks. The following did the trick.

log4j.logger.com.atlassian.confluence.velocity.introspection.AnnotationBoxingUberspect=ERROR

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
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

292 views 11 10
Join discussion

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