Log4j must be configured by the usual configuration files, eg. log4j.properties.
The mbean service allows you to change parts of that configuration
at _runtime_. You can change the log levels, add loggers or appenders.

To see what this means, follow the quickstart tutorial:
http://jakarta.apache.org/hivemind/hivemind-jmx/quickstart.html

Achim

Am Fri, 26 Aug 2005 14:47:42 +0200 schrieb Andrea Chiumenti <[EMAIL PROTECTED]>:

Hello,
I'm new to hivemind and i'd like to use log4j logging capabilities
into my application.
I've seen that there is a mbean service for log4j but i don'd
understand how to use it.
I've had some experiences using log4j in spring, but I don't
understand how to setup properties , such as the log filename or the
debug level, with the mx4j approach.
Can anybody tell me how do use it or, even better, give me some exaple
to study ?
Thanks in advance,
kiuma

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to