-
Bug
-
Resolution: Done
-
Major
-
7.1.1.Final
-
None
Starting with the following configuration:
[standalone@localhost:9999 /] /subsystem=logging/root-logger=ROOT:read-resource
{
"outcome" => "success",
"result" => {
"filter" => undefined,
"handlers" => [
"CONSOLE",
"FILE"
],
"level" => undefined
}
}
I attempt to specify the log level using change-root-log-level command:
[standalone@localhost:9999 /] /subsystem=logging/root-logger=ROOT:change-root-log-level(level="DEBUG") {"outcome" => "success"}
However instead of changing the value of level it adds a new root-logger element and sets it there.
[standalone@localhost:9999 /] /subsystem=logging/root-logger=ROOT:read-resource
{
"outcome" => "success",
"result" => {
"filter" => undefined,
"handlers" => [
"CONSOLE",
"FILE"
],
"level" => undefined,
"root-logger" => {"level" => "DEBUG"}
}
}
This configuration isn't reflected in the management console or XML, nor does it have the intended affect on server behaviour.