You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2013/10/16 14:32:23 UTC
JMX and docs
Hi all:
Reading https://issues.apache.org/jira/browse/LOG4J2-423 I wonder how
to best document JMX. Should each feature (like each appenders) (1)
document what it exposes through JMX, or, (2) should the JMX section
list all that is exposed. I'm thinking (1).
Gary
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Re: JMX and docs
Posted by Remko Popma <re...@gmail.com>.
On Wednesday, October 16, 2013, Gary Gregory wrote:
> On Wed, Oct 16, 2013 at 9:44 AM, Remko Popma <remko.popma@gmail.com<javascript:_e({}, 'cvml', 'remko.popma@gmail.com');>
> > wrote:
>
>> What kind of docs do you have in mind?
>>
>
> Well, I suppose we have it covered by this blanket statement: "Appenders
> are instrumented with MBeans and can be remotely monitored and controlled."
>
> I was just wondering if it would be useful to describe what, in more
> detailed, is monitored for each appender. But it sounds like actually using
> JMX will just tell you that.
>
That was my thinking exactly!
> So, never mind ;)
>
Cool!
> Gary
>
>>
>> The JMX API is documented in detail here:
>>
>> http://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/jmx/package-summary.html
>>
>> In addition to API, the JMX section has pointers for connectivity, and of
>> course docs for the GUI.
>>
>> To be honest, there is actually not that much that users can do via the
>> JMX interface, at least at the moment. The interesting stuff (looking at
>> the StatusLogger output, and reconfiguring log4j from a file or from an XML
>> string) is covered in the JMX GUI docs.
>>
>>
>> On Wednesday, October 16, 2013, Gary Gregory wrote:
>>
>>> Hi all:
>>>
>>> Reading https://issues.apache.org/jira/browse/LOG4J2-423 I wonder how
>>> to best document JMX. Should each feature (like each appenders) (1)
>>> document what it exposes through JMX, or, (2) should the JMX section
>>> list all that is exposed. I'm thinking (1).
>>>
>>> Gary
>>>
>>> --
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>> Java Persistence with Hibernate, Second Edition
>>> JUnit in Action, Second Edition
>>> Spring Batch in Action
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>>
>>>
>
>
> --
> E-Mail: garydgregory@gmail.com <javascript:_e({}, 'cvml',
> 'garydgregory@gmail.com');> | ggregory@apache.org <javascript:_e({},
> 'cvml', 'ggregory@apache.org');>
> Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
Re: JMX and docs
Posted by Gary Gregory <ga...@gmail.com>.
On Wed, Oct 16, 2013 at 9:44 AM, Remko Popma <re...@gmail.com> wrote:
> What kind of docs do you have in mind?
>
Well, I suppose we have it covered by this blanket statement: "Appenders
are instrumented with MBeans and can be remotely monitored and controlled."
I was just wondering if it would be useful to describe what, in more
detailed, is monitored for each appender. But it sounds like actually using
JMX will just tell you that. So, never mind ;)
Gary
>
> The JMX API is documented in detail here:
>
> http://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/jmx/package-summary.html
>
> In addition to API, the JMX section has pointers for connectivity, and of
> course docs for the GUI.
>
> To be honest, there is actually not that much that users can do via the
> JMX interface, at least at the moment. The interesting stuff (looking at
> the StatusLogger output, and reconfiguring log4j from a file or from an XML
> string) is covered in the JMX GUI docs.
>
>
> On Wednesday, October 16, 2013, Gary Gregory wrote:
>
>> Hi all:
>>
>> Reading https://issues.apache.org/jira/browse/LOG4J2-423 I wonder how
>> to best document JMX. Should each feature (like each appenders) (1)
>> document what it exposes through JMX, or, (2) should the JMX section
>> list all that is exposed. I'm thinking (1).
>>
>> Gary
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> JUnit in Action, Second Edition
>> Spring Batch in Action
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>
>>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: JMX and docs
Posted by Remko Popma <re...@gmail.com>.
What kind of docs do you have in mind?
The JMX API is documented in detail here:
http://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/jmx/package-summary.html
In addition to API, the JMX section has pointers for connectivity, and of
course docs for the GUI.
To be honest, there is actually not that much that users can do via the JMX
interface, at least at the moment. The interesting stuff (looking at the
StatusLogger output, and reconfiguring log4j from a file or from an XML
string) is covered in the JMX GUI docs.
On Wednesday, October 16, 2013, Gary Gregory wrote:
> Hi all:
>
> Reading https://issues.apache.org/jira/browse/LOG4J2-423 I wonder how
> to best document JMX. Should each feature (like each appenders) (1)
> document what it exposes through JMX, or, (2) should the JMX section
> list all that is exposed. I'm thinking (1).
>
> Gary
>
> --
> E-Mail: garydgregory@gmail.com <javascript:;> | ggregory@apache.org<javascript:;>
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org<javascript:;>
> For additional commands, e-mail: log4j-dev-help@logging.apache.org<javascript:;>
>
>