Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
7.0.1.Final
-
None
Description
The change-file command will fail with every other request.
[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" } }
On the server console, you see:
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)