Filtering unwanted atlassian-confluence.log warnings...

stuartu February 9, 2013

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

0 votes
Answer accepted
Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2013

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

stuartu February 10, 2013

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
TAGS
AUG Leaders

Atlassian Community Events