Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for LogNotificationTarget (0.12 seconds)

  1. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

     * to an OpenSearch index for downstream processing.
     */
    public class LogNotificationTarget implements TimeoutTarget {
    
        /**
         * Default constructor.
         */
        public LogNotificationTarget() {
            // Default constructor
        }
    
        private static final Logger logger = LogManager.getLogger(LogNotificationTarget.class);
        private static final String NOTIFICATION_QUEUE_INDEX = "fess_log.notification_queue";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            ComponentUtil.getFessConfig().setLogNotificationEnabled(true);
            logNotificationTarget = new LogNotificationTarget();
        }
    
        @Test
        public void test_constructor() {
            LogNotificationTarget target = new LogNotificationTarget();
            assertNotNull(target);
        }
    
        @Test
        public void test_expired_emptyBuffer() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

        private TimeoutTask timeoutTask;
        private LogNotificationTarget logNotificationTarget;
        private final ConcurrentLinkedQueue<LogNotificationEvent> queue = new ConcurrentLinkedQueue<>();
        private final AtomicInteger size = new AtomicInteger(0);
    
        /**
         * Initializes the log notification timer.
         */
        @PostConstruct
        public void init() {
            logNotificationTarget = new LogNotificationTarget();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                                true);
    
                if (ComponentUtil.getFessConfig().isLogNotificationEnabled()) {
                    logNotificationTarget = new LogNotificationTarget();
                    logNotificationTask = TimeoutManager.getInstance()
                            .addTimeoutTarget(logNotificationTarget, ComponentUtil.getFessConfig().getLogNotificationFlushIntervalAsInteger(),
                                    true);
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                                true);
    
                if (ComponentUtil.getFessConfig().isLogNotificationEnabled()) {
                    logNotificationTarget = new LogNotificationTarget();
                    logNotificationTask = TimeoutManager.getInstance()
                            .addTimeoutTarget(logNotificationTarget, ComponentUtil.getFessConfig().getLogNotificationFlushIntervalAsInteger(),
                                    true);
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                                true);
    
                if (ComponentUtil.getFessConfig().isLogNotificationEnabled()) {
                    logNotificationTarget = new LogNotificationTarget();
                    logNotificationTask = TimeoutManager.getInstance()
                            .addTimeoutTarget(logNotificationTarget, ComponentUtil.getFessConfig().getLogNotificationFlushIntervalAsInteger(),
                                    true);
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

        }
    
        @Test
        public void test_append_excludedLogger_logNotificationTarget() {
            final LogEvent event = createLogEvent(Level.ERROR, "org.codelibs.fess.timer.LogNotificationTarget", "should be excluded");
            appender.append(event);
            final List<LogNotificationEvent> events = ComponentUtil.getLogNotificationHelper().drainAll();
            assertEquals(0, events.size());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

                "org.codelibs.fess.helper.NotificationHelper", //
                "org.codelibs.fess.util.LogNotificationAppender", //
                "org.codelibs.fess.job.LogNotificationJob", //
                "org.codelibs.fess.timer.LogNotificationTarget", //
                "org.codelibs.fess.helper.LogNotificationHelper", //
                "org.codelibs.curl" //
        );
    
        private final Level minLevel;
    
        /**
         * Constructs a new LogNotificationAppender.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top