Bug 1022182 - Default value for access log prefix differs in schema and CLI
Default value for access log prefix differs in schema and CLI
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity medium
: ER10
: EAP 6.3.0
Assigned To: Rémy Maucherat
Radim Hatlapatka
Russell Dickenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-22 12:12 EDT by Jan Blizňák
Modified: 2014-08-05 07:48 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-08-05 07:38:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Blizňák 2013-10-22 12:12:36 EDT
Description of problem:
In docs/schema/jboss-as-web_1_4.xsd there is defined attribute "prefix" of access log type as:

<xs:attribute name="prefix" default="access_log." />

whereas in CLI the command /subsystem=web/virtual-server=default-host/access-log=configuration:read-resource-description outputs:

 "prefix" => {
                "type" => STRING,
                "description" => "Prefix for the log file name.",
                "expressions-allowed" => false,
                "nillable" => true,
                "default" => false,
                "min-length" => 1L,
                "max-length" => 2147483647L,
                "access-type" => "read-write",
                "storage" => "configuration",
                "restart-required" => "all-services"
            },

How reproducible:
Always

Actual results:
Default values differs. The value from CLI is reproduced as string "false" and used for prefixing access log files.

Expected results:
Default values are synchronized.
Comment 1 Martin Velas 2014-08-05 07:38:18 EDT
For EAP 6.3.0.ER10 both the XSD document and the CLI present the same default value for the prefix attribude: 

<xs:attribute name="prefix" default="access_log." />

and

"prefix" => {
                "type" => STRING,
                "description" => "Prefix for the log file name.",
                "expressions-allowed" => false,
                "nillable" => true,
                "default" => "access_log.",
                "min-length" => 1L,
                "max-length" => 2147483647L,
                "access-type" => "read-write",
                "storage" => "configuration",
                "restart-required" => "all-services"
            },

So this issue reported against older version, cannot be reproduced against latest 6.3.0.ER10 bits, which means it was fixed earlier. Therefore, we are closing this bug. Thank you for reporting this issue.

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