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@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: