Brajesh Singh [
https://community.jboss.org/people/brajeshs] created the discussion
"Making an apps log available to JMX-Console as notification"
To view the discussion, visit:
https://community.jboss.org/message/783474#783474
--------------------------------------------------------------
Hi,
I'm new to this technology and community, I've tried to read about this on the
web, but couldn't find something that would work for me.
I've an application which is using log4j logging which has a file appender. On
deploying this into JBOSS, I wanted to be able to have JBOSS pick the logging information
and be able to display them as Alerts or something.
For JBOSS's own log4j setting, I uncommented the JMXNotification appender etc and also
modified the service.xml to allow for alerttables but all I get there is JBOSS specific
alerts. Nothing related to the application, it continues to log stuff to it's file
though.
Another thing that I wanted to be able to do was to be able to view the logs as
notification in say jconsole but when I connect my jboss instance, I am able to access the
MBEANS and the logging within it but the notification tab is disabled, it only allows me
some operations like getting log level etc.
My app EAR doesn't contain with it the app log4j and my JBOSS version is 5.1, JDK is
1.5
Thanks in advance for your time and help.
Regards.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/783474#783474]
Start a new discussion in JMX Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]