log.log(Level.SEVERE, e.getMessage(), e);
Log.error(e.getMessage(), e);
    public void destroy() {        log.info("unloading asterisk-im plugin resources");        try {            log.info("Registering asterisk-im plugin as a component");            ComponentManagerFactory.getComponentManager().removeComponent(NAME);        }        catch (Exception e) {            log.log(Level.SEVERE, e.getMessage(), e);            // Do nothing. Should never happen.            ComponentManagerFactory.getComponentManager().getLog().error(e);        }        try {            closeManagerConnection();            log.info("Shutting down Asterisk-IM Thread Pool");            ThreadPool.shutdown();            log.info("Shutting down Hibernate for Asterisk-IM");            HibernateUtil.close();        }        catch (Exception e) {            // Make sure we catch all exceptions show we can log anything that might be            // going on            log.log(Level.SEVERE, e.getMessage(), e);            ComponentManagerFactory.getComponentManager().getLog().error(e);        }    }