[jboss-jira] [JBoss JIRA] (AS7-4839) change-root-log-level command creates config in wrong place ?
James Perkins (JIRA)
jira-events at lists.jboss.org
Sun May 20 16:28:17 EDT 2012
[ https://issues.jboss.org/browse/AS7-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins reassigned AS7-4839:
----------------------------------
Assignee: James Perkins (was: Alexey Loubyansky)
> change-root-log-level command creates config in wrong place ?
> -------------------------------------------------------------
>
> Key: AS7-4839
> URL: https://issues.jboss.org/browse/AS7-4839
> Project: Application Server 7
> Issue Type: Bug
> Components: CLI, Logging
> Affects Versions: 7.1.1.Final
> Reporter: Darrin Mison
> Assignee: James Perkins
>
> Starting with the following configuration:
> {code}
> [standalone at localhost:9999 /] /subsystem=logging/root-logger=ROOT:read-resource
> {
> "outcome" => "success",
> "result" => {
> "filter" => undefined,
> "handlers" => [
> "CONSOLE",
> "FILE"
> ],
> "level" => undefined
> }
> }
> {code}
> I attempt to specify the log level using change-root-log-level command:
> {code}
> [standalone at localhost:9999 /] /subsystem=logging/root-logger=ROOT:change-root-log-level(level="DEBUG")
> {"outcome" => "success"}
> {code}
> However instead of changing the value of {{level}} it adds a new {{root-logger}} element and sets it there.
> {code}
> [standalone at localhost:9999 /] /subsystem=logging/root-logger=ROOT:read-resource
> {
> "outcome" => "success",
> "result" => {
> "filter" => undefined,
> "handlers" => [
> "CONSOLE",
> "FILE"
> ],
> "level" => undefined,
> "root-logger" => {"level" => "DEBUG"}
> }
> }
> {code}
> This configuration isn't reflected in the management console or XML, nor does it have the intended affect on server behaviour.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list