Details
-
Bug
-
Resolution: Done
-
Major
-
7.1.0.Final
-
None
Description
While running server in domain mode, It is possible to create new Periodic File Rotating Handler with suffix "s" , and the same approach in standalone mode correctly throws (via Admin Console)
Caused by: java.lang.IllegalArgumentException: Rotating by second or millisecond is not supported
at org.jboss.logmanager.handlers.PeriodicRotatingFileHandler.setSuffix(PeriodicRotatingFileHandler.java:141) [jboss-logmanager-1.2.2.GA.jar:1.2.2.GA]
or in CLI
[standalone@localhost:9999 periodic-rotating-file-handler=testx] :write-attribute(name=suffix, value="ss")
{
"outcome" => "failed",
"failure-description" => "JBAS014749: Operation handler failed: Rotating by second or millisecond is not supported",
"rolled-back" => true
}
In domain mode:
[domain@localhost:9999 periodic-rotating-file-handler=test4] :write-attribute(name=suffix, value="ss")
{
"outcome" => "success",
"result" => undefined,
"server-groups" => undefined
}