Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getLogFilePath (0.16 sec)

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

            buf.append("-Xlog:gc*,gc+age=trace,safepoint:file=");
            if (logFilePath != null) {
                buf.append(logFilePath);
            } else {
                buf.append(ComponentUtil.getSystemHelper().getLogFilePath());
            }
            buf.append(File.separator);
            buf.append("gc-").append(getExecuteType()).append(".log");
            buf.append(":utctime,pid,tags:filecount=5,filesize=64m");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                logger.warn("Failed to access system.properties.", e);
            }
        }
    
        protected void writeLogFiles(final ZipOutputStream zos, final String id) {
            final String logFilePath = systemHelper.getLogFilePath();
            if (StringUtil.isNotBlank(logFilePath)) {
                final Path logDirPath = Paths.get(logFilePath);
                try (Stream<Path> stream = Files.list(logDirPath)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong());
            return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
        }
    
        public String getLogFilePath() {
            final String value = System.getProperty("fess.log.path");
            if (value != null) {
                return value;
            }
            final String userDir = System.getProperty("user.dir");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top