[jboss-jira] [JBoss JIRA] (AS7-2455) Size rotating file handler incorrectly handles file size

Stan Silvert (Created) (JIRA) jira-events at lists.jboss.org
Tue Nov 1 16:06:46 EDT 2011


Size rotating file handler incorrectly handles file size
--------------------------------------------------------

                 Key: AS7-2455
                 URL: https://issues.jboss.org/browse/AS7-2455
             Project: Application Server 7
          Issue Type: Bug
          Components: Logging
    Affects Versions: 7.1.0.Alpha1
            Reporter: Stan Silvert
            Assignee: James Perkins


In SizeRotatingFileHandler, the file size is defined like this:
{code:xml}<xs:complexType name="sizeType">
        <xs:attribute name="value">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:pattern value="^[0-9]+[bkmgtp]?$"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
    </xs:complexType>{code}

However, the model is using a Long instead of a String.  So you can't specify file sizes like "10m" or "256k".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list