- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getLogFilePath (0.07 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", ""); final String logFilePath = systemHelper.getLogFilePath(); if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) { final Path path = Paths.get(logFilePath, filename); return asStream(filename).contentTypeOctetStream().stream(out -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java
final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", ""); final String logFilePath = systemHelper.getLogFilePath(); if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) { final Path path = Paths.get(logFilePath, filename); return asStream(filename).contentTypeOctetStream().stream(out -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
public void test_getLogFilePath() { final File logFile = new File(systemHelper.getLogFilePath()); assertEquals("logs", logFile.getName()); assertEquals("target", logFile.getParentFile().getName()); try { System.setProperty("fess.log.path", "logpath"); assertEquals("logpath", systemHelper.getLogFilePath()); } finally { System.clearProperty("fess.log.path"); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
* @param id the diagnostic ID for organizing files in the ZIP */ 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
cmdList.add("-Dfess." + getExecuteType() + ".process=true"); cmdList.add("-Dfess.log.path=" + (logFilePath != null ? logFilePath : systemHelper.getLogFilePath())); addSystemProperty(cmdList, "fess.log.name", getLogName("fess"), getLogName(StringUtil.EMPTY)); if (logLevel == null) { addSystemProperty(cmdList, "fess.log.level", null, null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
// Register mock helpers ComponentUtil.register(new SystemHelper() { @Override public String getLogFilePath() { return tempDir.getAbsolutePath(); } }, "systemHelper"); ComponentUtil.register(new ProcessHelper() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } /** * Gets the path to the log file. * * @return The log file path. */ 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0)