Bug 1069514 - [QE] (6.3.0) Don't log output of ./standalone.sh --help invocation
Summary: [QE] (6.3.0) Don't log output of ./standalone.sh --help invocation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Logging
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: DR2
: EAP 6.3.0
Assignee: James Perkins
QA Contact: Nikoleta Hlavickova
Nidhi
URL:
Whiteboard:
Depends On:
Blocks: 1072224
TreeView+ depends on / blocked
 
Reported: 2014-02-25 08:00 UTC by Petr Kremensky
Modified: 2014-06-28 15:37 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1072224 (view as bug list)
Environment:
Last Closed: 2014-06-28 15:37:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-2899 0 Minor Resolved Help and error messages in Main classes should be printed raw 2014-08-13 10:50:54 UTC

Description Petr Kremensky 2014-02-25 08:00:17 UTC
Description of problem:
 There is a difference between output of standalone.sh --help and help message of other tools/scipts. Help message of standalone help is printed via logger, but it should be sent directly to stdout.

Version-Release number of selected component (if applicable):
 EAP 6.3.0.DR0

How reproducible:
 Always

Steps to Reproduce:
 1. run ./standalone.sh --help

Actual results:
08:40:43,613 INFO  [stdout] (main) 
08:40:43,613 INFO  [stdout] (main) Usage: standalone.sh [args...]
08:40:43,614 INFO  [stdout] (main) where args include:
08:40:43,614 INFO  [stdout] (main)     --admin-only                        Set the server's running type to 
08:40:43,614 INFO  [stdout] (main)                                         ADMIN_ONLY causing it to open 
08:40:43,615 INFO  [stdout] (main)                                         administrative interfaces and accept 
08:40:43,615 INFO  [stdout] (main)                                         management requests but not start other 
08:40:43,616 INFO  [stdout] (main)                                         runtime services or accept end user 
08:40:43,616 INFO  [stdout] (main)                                         requests.
....
It's looking really strange and user cannot use this output directly without editing it

Expected results:
Same as help message of other commands:

Usage: standalone.sh [args...]
where args include:
    --admin-only                        Set the server's running type to 
                                        ADMIN_ONLY causing it to open 
                                        administrative interfaces and accept 
                                        management requests but not start other 
                                        runtime services or accept end user 
                                        requests.
...

Comment 1 James Perkins 2014-02-27 18:24:55 UTC
Should be an easy fix. I've already done this on WildFly https://github.com/wildfly/wildfly/commit/643e509807a7f80f8c6fb1c5a9ced1b53271c756. I can just cherry-pick it in.

Comment 3 Petr Kremensky 2014-03-10 08:54:44 UTC
Verified on EAP 6.3.0.DR2


Note You need to log in before you can comment on or make changes to this bug.