[ checkstyle-Feature Requests-3490406 ] Log severity for all audit events, not just warnings

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ checkstyle-Feature Requests-3490406 ] Log severity for all audit events, not just warnings

SourceForge.net
Feature Requests item #3490406, was opened at 2012-02-21 17:01
Message generated for change (Tracker Item Submitted) made by richard_barnett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=3490406&group_id=29721

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
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Richard Barnett (richard_barnett)
Assigned to: Nobody/Anonymous (nobody)
Summary: Log severity for all audit events, not just warnings

Initial Comment:
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.)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=3490406&group_id=29721

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Checkstyle-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel