class KieSiftingAppender extends SiftingAppender {

    @Override
    protected void append(ILoggingEvent eventObject) {
        if (!eventObject.getMDCPropertyMap().isEmpty()) {
            StringBuilder sb = new StringBuilder();
            sb.append(eventObject.getLevel()).append(" ").append(eventObject.getFormattedMessage());
            OutputSharedMap.addMsgToLog(eventObject.getMDCPropertyMap().get(MavenConfig.COMPILATION_ID), sb.toString());
        }
    }

}