Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core Framework
Submitted By: Richard Barnett (richard_barnett)
Assigned to: Nobody/Anonymous (nobody)
Summary: Log severity for all audit events, not just warnings
DefaultLogger.addError() only logs AuditEvent.severityLevel if it's WARNING.
This makes it hard to find events of severity ERROR in eg mvn checkstyle:check output.
Log severityLevel in all cases. Patch attached (based on 5.3).
(I know that DefaultLogger is an AuditListener & it's possible to add new AuditListeners, but is it possible to replace DefaultLogger? I also know that checkstyle:check allows you to control the severity threshold, though it doesn't seem possible from the command-line.)