}
protected void frameworkEventWarning(FrameworkEvent frameworkEvent)
throws Exception {
Bundle bundle = frameworkEvent.getBundle();
Log log = LogFactoryUtil.getLog(bundle.getSymbolicName());
<BUG>if (log.isWarnEnabled()) {

log.warn(</BUG>
"[WARNING] " + frameworkEvent.getSource(),
frameworkEvent.getThrowable());

}
log.info(
"[STOPPED] " + frameworkEvent.getSource(),
frameworkEvent.getThrowable());
