[jboss-jira] [JBoss JIRA] Created: (AS7-1267) Can't set "append" attribute on file handlers

Stan Silvert (JIRA) jira-events at lists.jboss.org
Tue Jul 12 15:41:23 EDT 2011


Can't set "append" attribute on file handlers
---------------------------------------------

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


I can't tell what is really happening here.  It seems to parse the "append" attribute OK, but it doesn't show up in the CLI.  I've also set it programmatically in the console code, but I never get a value back for it.

           <periodic-rotating-file-handler name="FILE">
                <level name="INFO"/>
                <formatter>
                    <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
                </formatter>
                <file relative-to="jboss.server.log.dir" path="server.log"/>
                <suffix value=".yyyy-MM-dd"/>
                <append value="true"/>
            </periodic-rotating-file-handler>


[standalone at localhost:9999 /] /subsystem=logging/periodic-rotating-file-handler=FILE:read-resource
{
    "outcome" => "success",
    "result" => {
        "autoflush" => true,
        "encoding" => undefined,
        "file" => {
            "path" => "server.log",
            "relative-to" => "jboss.server.log.dir"
        },
        "formatter" => "%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n",
        "level" => "INFO",
        "suffix" => ".yyyy-MM-dd"
    }
}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list