[jboss-jira] [JBoss JIRA] (WFLY-7462) Do not log common CLI failures for Elytron to server log

Ondrej Lukas (JIRA) issues at jboss.org
Thu Nov 3 09:08:00 EDT 2016


Ondrej Lukas created WFLY-7462:
----------------------------------

             Summary: Do not log common CLI failures for Elytron to server log
                 Key: WFLY-7462
                 URL: https://issues.jboss.org/browse/WFLY-7462
             Project: WildFly
          Issue Type: Bug
          Components: Security
            Reporter: Ondrej Lukas
            Assignee: Darran Lofthouse
            Priority: Critical


Almost every common CLI command failure from Elytron subsystem is logged as ERROR to server log. For example this means:
* trying to add duplicate resource -> ERROR in server log
* missing required attribute of any resource attribute in CLI command -> ERROR in server log
* missing capability -> ERROR in server log
* ...

Some reasons why these logs should not be logged to server log:
* Adding useless messages to server log.
* This is inconsistent with other subsystems (e.g. PicketBox). It can be confusing.

These common CLI command failures should be removed from the log, or logged on low level (i.e. DEBUG)



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list