Package net.sf.logsaw.core.dialect.support

Examples of net.sf.logsaw.core.dialect.support.ALogEntryCollector.addMessage()


       
        if (log.getDialect().getFieldProvider().getTimestampField() == null) {
          // We have no barrier timestamp, so perform truncate to avoid duplicates
          truncate(log, writer);
         
          collector.addMessage(new Status(IStatus.INFO, IndexPlugin.PLUGIN_ID,
              Messages.LuceneIndexService_info_autoTruncate_noTimestampField));
        } else if (!hasDateComponent(log)) {
          // The date format only contains time components, so perform truncate to avoid duplicates
          truncate(log, writer);
         
View Full Code Here


              Messages.LuceneIndexService_info_autoTruncate_noTimestampField));
        } else if (!hasDateComponent(log)) {
          // The date format only contains time components, so perform truncate to avoid duplicates
          truncate(log, writer);
         
          collector.addMessage(new Status(IStatus.INFO, IndexPlugin.PLUGIN_ID,
              Messages.LuceneIndexService_info_autoTruncate_noDateComponent));
        }
       
        // Perform synchronize
        log.synchronize(collector, monitor);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.