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

James Perkins (JIRA) jira-events at lists.jboss.org
Mon Sep 26 13:40:26 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins reassigned AS7-1267:
----------------------------------

    Assignee: James Perkins  (was: David Lloyd)


> 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.0.0.Beta1
>            Reporter: Stan Silvert
>            Assignee: James Perkins
>
> 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