You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2008/12/13 07:58:44 UTC

[jira] Created: (ZOOKEEPER-256) support use of JMX to manage log4j configuration at runtime

support use of JMX to manage log4j configuration at runtime
-----------------------------------------------------------

                 Key: ZOOKEEPER-256
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-256
             Project: Zookeeper
          Issue Type: New Feature
          Components: jmx
            Reporter: Patrick Hunt
            Assignee: Patrick Hunt
             Fix For: 3.1.0


Log4j has code to support management at runtime using JMX. Need to add hooks to register the beans.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-256) support use of JMX to manage log4j configuration at runtime

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658677#action_12658677 ] 

Mahadev konar commented on ZOOKEEPER-256:
-----------------------------------------

this code change uses a property to disable jmx ("zookeeper.jmx.log4j.disable")  in log4j. Shouldnt this be documented? 

> support use of JMX to manage log4j configuration at runtime
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-256
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-256
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: jmx
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-256.patch
>
>
> Log4j has code to support management at runtime using JMX. Need to add hooks to register the beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-256) support use of JMX to manage log4j configuration at runtime

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658709#action_12658709 ] 

Patrick Hunt commented on ZOOKEEPER-256:
----------------------------------------

It's documented in the javadoc, there are no jmx forrest docs at the moment, I added a comment to make sure we document zookeeper.jmx.log4j.disable as part of ZOOKEEPER-177

> support use of JMX to manage log4j configuration at runtime
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-256
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-256
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: jmx
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-256.patch
>
>
> Log4j has code to support management at runtime using JMX. Need to add hooks to register the beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-256) support use of JMX to manage log4j configuration at runtime

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-256:
-----------------------------------

    Attachment: ZOOKEEPER-256.patch

this patch registers log4j when starting managed server

> support use of JMX to manage log4j configuration at runtime
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-256
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-256
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: jmx
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-256.patch
>
>
> Log4j has code to support management at runtime using JMX. Need to add hooks to register the beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-256) support use of JMX to manage log4j configuration at runtime

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658818#action_12658818 ] 

Hudson commented on ZOOKEEPER-256:
----------------------------------

Integrated in ZooKeeper-trunk #181 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/181/])
    . support use of JMX to manage log4j configuration at runtime. (pat via mahadev)


> support use of JMX to manage log4j configuration at runtime
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-256
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-256
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: jmx
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-256.patch
>
>
> Log4j has code to support management at runtime using JMX. Need to add hooks to register the beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-256) support use of JMX to manage log4j configuration at runtime

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-256:
------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this. Thanks pat!

> support use of JMX to manage log4j configuration at runtime
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-256
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-256
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: jmx
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-256.patch
>
>
> Log4j has code to support management at runtime using JMX. Need to add hooks to register the beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-256) support use of JMX to manage log4j configuration at runtime

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658717#action_12658717 ] 

Mahadev konar commented on ZOOKEEPER-256:
-----------------------------------------

ok... thats fine. 
+1 for the patch. Ill commit this then... 

> support use of JMX to manage log4j configuration at runtime
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-256
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-256
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: jmx
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-256.patch
>
>
> Log4j has code to support management at runtime using JMX. Need to add hooks to register the beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-256) support use of JMX to manage log4j configuration at runtime

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-256:
-----------------------------------

    Status: Patch Available  (was: Open)

> support use of JMX to manage log4j configuration at runtime
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-256
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-256
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: jmx
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-256.patch
>
>
> Log4j has code to support management at runtime using JMX. Need to add hooks to register the beans.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.