Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for logs (0.16 sec)

  1. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

                resultBuf.append(e.getMessage()).append("\n");
            }
    
            // purge job logs
            try {
                final int days = ComponentUtil.getFessConfig().getPurgeJobLogDay();
                if (days >= 0) {
                    jobLogService.deleteBefore(days);
                } else {
                    resultBuf.append("Skipped to purge job logs.\n");
                }
            } catch (final Exception e) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

        // GET /api/admin/joblog/logs
        @Execute
        public JsonResponse<ApiResult> logs(final SearchBody body) {
            validateApi(body, messages -> {});
            final JobLogPager pager = copyBeanToNewBean(body, JobLogPager.class);
            final List<JobLog> list = jobLogService.getJobLogList(pager);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            for (Map<String, Object> elem : logList) {
                deleteMethod("/api/admin/joblog/log/" + elem.get("id")).then().body("response.status", equalTo(0));
            }
    
            final List<Map<String, Object>> afterList = readJobLog(NAME_PREFIX);
            assertEquals(0, afterList.size()); // check if logs are successfully deleted
        }
    
        /**
         * Test for CrawlingInfo
         * */
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get("/api/admin/" + apiName + "/logs").asString();
            final List<Map<String, Object>> itemList = JsonPath.from(response).getList("response.logs");
            logger.info("itemList: {}", itemList);
            return itemList;
        }
    
        protected static Response deleteMethod(final String path) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FlushablesTest.java

        mockFlushable = mock(Flushable.class);
        if (shouldThrowOnFlush) {
          doThrow(
                  new IOException(
                      "This should only appear in the " + "logs. It should not be rethrown."))
              .when(mockFlushable)
              .flush();
        }
      }
    
      // Flush the flushable using the Flushables, passing in the swallowException
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CloseablesTest.java

      // exception.
      private void setupCloseable(boolean shouldThrow) throws IOException {
        mockCloseable = mock(Closeable.class);
        if (shouldThrow) {
          doThrow(new IOException("This should only appear in the logs. It should not be rethrown."))
              .when(mockCloseable)
              .close();
        }
      }
    
      private void doClose(Closeable closeable, boolean swallowException) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/QueryContext.java

                    fieldLogMap = (Map<String, List<String>>) request.getAttribute(Constants.FIELD_LOGS);
                    if (fieldLogMap == null) {
                        fieldLogMap = new HashMap<>();
                        request.setAttribute(Constants.FIELD_LOGS, fieldLogMap);
                    }
                });
            }
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse deleteall() {
            verifyToken(this::asListHtml);
            searchLogPager.clear();
            // TODO delete logs
            saveInfo(messages -> messages.addSuccessCrawlingInfoDeleteAll(GLOBAL));
            return redirect(getClass());
        }
    
        // ===================================================================================
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

        //                                                                      ==============
    
        // GET /api/admin/crawlinginfo/logs
        // POST /api/admin/crawlinginfo/logs
        @Execute
        public JsonResponse<ApiResult> logs(final SearchBody body) {
            validateApi(body, messages -> {});
            final CrawlingInfoPager pager = copyBeanToNewBean(body, CrawlingInfoPager.class);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

        //                                                                      ==============
    
        // GET /api/admin/failureurl/logs
        // POST /api/admin/failureurl/logs
        @Execute
        public JsonResponse<ApiResult> logs(final SearchBody body) {
            validateApi(body, messages -> {});
            final FailureUrlPager pager = copyBeanToNewBean(body, FailureUrlPager.class);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top