added ability to log messages from outside the mbean

I need the ability to lookup the MBean from an external log handler and add logging events to it. So I added a method for that. With this extension it works fine.