Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for appendException (0.22 sec)

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

                    return tempBuf.toString();
                }).collect(Collectors.joining(","));
                buf.append(hotThreads).append(',');
            } catch (final Exception e) {
                appendException(buf, e).append(',');
            }
    
            appendTimestamp(buf);
            buf.append('}');
    
            if (logger.isInfoEnabled()) {
                logger.info(buf.toString());
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

            append(buf, "timestamp", () -> FessFunctions.formatDate(systemHelper.getCurrentTime()));
            return buf;
        }
    
        protected StringBuilder appendException(final StringBuilder buf, final Exception exception) {
            try (ByteArrayOutputStream baos = new ByteArrayOutputStream();
                    PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                try (OutputStream out = builder.getOutputStream()) {
                    stats = ((ByteArrayOutputStream) out).toString(Constants.UTF_8);
                }
            } catch (final Exception e) {
                appendException(buf, e).append(',');
            }
            buf.append("\"search_engine\":").append(stats).append(',');
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top