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

Ondrej Lukas (JIRA) issues at jboss.org
Fri Nov 4 04:23:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-7462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Lukas updated WFLY-7462:
-------------------------------
    Description: 
Almost every common CLI command failure from Elytron subsystem is logged as ERROR to server log. For example this means:
* trying to add duplicate service -> 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)

  was:
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)



> 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
>    Affects Versions: 11.0.0.Alpha1
>            Reporter: Ondrej Lukas
>            Assignee: Darran Lofthouse
>            Priority: Critical
>              Labels: user_experience
>
> Almost every common CLI command failure from Elytron subsystem is logged as ERROR to server log. For example this means:
> * trying to add duplicate service -> 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