3 Replies Latest reply on Apr 8, 2002 4:56 AM by adrian.brock

    Notification if log.error

    susan

      Hi!

      Maybe somebody know, if it is possible to reveive a Notification, if a mbean, service oder application write out a log.error-message to the log?

      Maybe I should register as Listener on Log4j ???

      Thank you very much in advance!

      Susan

        • 1. Re: Notification if log.error

          Log4j 1.2 has some MBeans for management, but it
          doesn't include a "JMX notification appender".

          That is what you need. An appender is something that
          receives logging events and does something with them.

          Regards,
          Adrian

          • 2. Re: Notification if log.error

            hmmhmmm

            when do we get the logger mbeans adrian? :)

            could add the notification attribute there, no?

            -- Juha

            • 3. Re: Notification if log.error

              Soon,

              Actually, I thought about contributing a
              JMXNotificationAppender to log4j.
              There would be nothing to stop me releasing it
              under both the Apache and LGPL licenses for
              the two projects :-)

              I'll probably do JMXHandler for the java 1.4 logging
              as well.

              This goes in at about number 15 on my list of things
              to do ;-)

              Regards,
              Adrian