[jboss-jira] [JBoss JIRA] (WFLY-12224) CLI output is doubled after embed-server reload

Jean Francois Denise (Jira) issues at jboss.org
Fri Jun 21 10:03:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-12224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750116#comment-13750116 ] 

Jean Francois Denise commented on WFLY-12224:
---------------------------------------------

It occurs even calling :reload operation.
The duplicated output comes from logging. [~jamezp], I solated the commit that introduced this:
https://github.com/wildfly/wildfly-core/commit/766c3991e2b11eedda4be830405de164e09958bc

> CLI output is doubled after embed-server reload
> -----------------------------------------------
>
>                 Key: WFLY-12224
>                 URL: https://issues.jboss.org/browse/WFLY-12224
>             Project: WildFly
>          Issue Type: Bug
>          Components: CLI, Logging
>    Affects Versions: 18.0.0.Beta1
>            Reporter: Ondrej Kotek
>            Assignee: Jean Francois Denise
>            Priority: Major
>
> CLI output is doubled after embed-server reload:
> {noformat}
> [okotek at localhost wildfly-18.0.0.Beta1-SNAPSHOT]$ ./bin/jboss-cli.sh 
> You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
> [disconnected /] embed-server 
> [standalone at embedded /] :whoami
> {
>     "outcome" => "success",
>     "result" => {"identity" => {"username" => "anonymous"}}
> }
> [standalone at embedded /] reload 
> [standalone at embedded /] :whoami
> 12:34:27,735 INFO  [org.jboss.as.cli.CommandContext] (CLI command) {
>     "outcome" => "success",
>     "result" => {"identity" => {"username" => "anonymous"}}
> }
> {
>     "outcome" => "success",
>     "result" => {"identity" => {"username" => "anonymous"}}
> }
> {noformat}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list