FormattedText logs warnings incorrectly on every call to processFormattedText (related to antisamy changes)

Description

org.sakaiproject.util.impl.FormattedTextImpl is logging incorrectly when antisamy is disabled.

2013-05-02 07:16:04,522 WARN QuartzScheduler_Worker-2 org.sakaiproject.util.impl.FormattedTextImpl - Cannot use the new html cleaner (useLegacySakaiCleaner=false), Antisamy cleaner not available, falling back to the legacy cleaner

It should only log when the antisamy startup failed.

Attachments

1

Activity

Show:

Hudson CI Server May 10, 2013 at 10:18 AM

Integrated in kernel-trunk #671 (See http://builds.sakaiproject.org:8080/job/kernel-trunk/671/)
fis for FormattedText logs warnings incorrectly on every call to processFormattedText (related to antisamy changes) (Revision 123869)

Result = SUCCESS

Sam Ottenhoff May 8, 2013 at 3:24 PM

1.3.x r123873

Cris Holdorph May 8, 2013 at 3:19 PM

confirmed i no longer see the log message with this change

Aaron Zeckoski May 8, 2013 at 1:29 PM

Ready for QA verification (requires server logs access and a server with antisamy disabled)
useLegacySakaiCleaner=true

Aaron Zeckoski May 8, 2013 at 1:27 PM

Note: Cris saw many many lines in the logs from this

013-05-02 07:16:04,522 WARN QuartzScheduler_Worker-2 org.sakaiproject.util.impl.FormattedTextImpl - Cannot use the new html cleaner (useLegacySakaiCleaner=false), Antisamy cleaner not available, falling back to the legacy cleaner

of 1.3 million lines in my 219meg log file, 750k of the lines are that warning.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created May 8, 2013 at 1:24 PM
Updated April 25, 2018 at 3:18 PM
Resolved May 8, 2013 at 1:29 PM