[jboss-jira] [JBoss JIRA] (AS7-1267) Can't set "append" attribute on file handlers
James Perkins (Closed) (JIRA)
jira-events at lists.jboss.org
Thu Oct 20 17:39:45 EDT 2011
[ https://issues.jboss.org/browse/AS7-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins closed AS7-1267.
------------------------------
> 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
> Fix For: 7.1.0.Beta1
>
>
> 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.
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