]
Stan Silvert reassigned AS7-1706:
---------------------------------
Assignee: Stan Silvert (was: David Lloyd)
Handler change-file command fails every other time.
---------------------------------------------------
Key: AS7-1706
URL:
https://issues.jboss.org/browse/AS7-1706
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.0.1.Final
Reporter: Stan Silvert
Assignee: Stan Silvert
The change-file command will fail with every other request.
{code}
[standalone@localhost:9999 periodic-rotating-file-handler=FILE] :read-resource
{
"outcome" => "success",
"result" => {
"append" => true,
"autoflush" => true,
"encoding" => undefined,
"file" => {
"path" => "server3.log",
"relative-to" => undefined
},
"formatter" => "%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n",
"level" => "INFO",
"suffix" => ".yyyy-MM-dd"
}
}
[standalone@localhost:9999 periodic-rotating-file-handler=FILE]
:change-file(path=server4.log)
{
"outcome" => "failed",
"failure-description" => "Operation handler failed to
complete",
"rolled-back" => true
}
[standalone@localhost:9999 periodic-rotating-file-handler=FILE]
:change-file(path=server4.log)
{"outcome" => "success"}
[standalone@localhost:9999 periodic-rotating-file-handler=FILE] :read-resource
{
"outcome" => "success",
"result" => {
"append" => true,
"autoflush" => true,
"encoding" => "UTF-8",
"file" => {
"path" => "server4.log",
"relative-to" => undefined
},
"formatter" => "%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n",
"level" => "INFO",
"suffix" => ".yyyy-MM-dd"
}
}
{code}
On the server console, you see:
{code}
18:06:22,179 INFO [org.jboss.as.controller] (MSC service thread 1-5) Service status
report
New missing/unsatisfied dependencies:
service jboss.logging.handler-file.FILE (missing)
18:06:27,050 INFO [org.jboss.as.controller] (pool-2-thread-53) Service status report
Newly corrected services:
service jboss.logging.handler-file.FILE (now available)
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: