- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getLogFilePath (0.11 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.7K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 7.7K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
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) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jun 23 04:13:47 UTC 2024 - 15.1K bytes - Viewed (0) -
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)