- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for logEvent (0.26 seconds)
-
src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.util; import java.util.List; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.core.LogEvent; import org.apache.logging.log4j.core.impl.Log4jLogEvent; import org.apache.logging.log4j.message.SimpleMessage; import org.codelibs.fess.helper.LogNotificationHelper;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java
.build(); LogEvent event3 = Log4jLogEvent.newBuilder() .setLoggerName("third.logger") .setLevel(Level.ERROR) .setMessage(new SimpleMessage("test message 3")) .build(); LogEvent result1 = policy.rewrite(event1); LogEvent result2 = policy.rewrite(event2); LogEvent result3 = policy.rewrite(event3);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.2K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
route: Route, call: Call, ) { logEvent(ConnectionEvent.ConnectEnd(System.nanoTime(), connection, route, call)) } override fun connectionClosed(connection: Connection) = logEvent(ConnectionEvent.ConnectionClosed(System.nanoTime(), connection)) override fun connectionAcquired( connection: Connection, call: Call, ) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java
* * @param event the log event to potentially rewrite * @return the original event or a new event with WARN level if conversion applied */ @Override public LogEvent rewrite(final LogEvent event) { final String loggerName = event.getLoggerName(); if (loggerName == null) { return event; } for (final String name : loggerNames) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
*/ private val enforceOrder: Boolean = true, ) { private val eventListenerAdapter = EventListenerAdapter() .apply { listeners += ::logEvent } val eventListener: EventListener get() = eventListenerAdapter /** Events that haven't yet been removed. */ val eventSequence: Deque<CallEvent> = ConcurrentLinkedDeque()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
* * @param type event type * @param severity event severity * @param message event message * @param context additional context */ public void logEvent(EventType type, Severity severity, String message, Map<String, Object> context) { // Check minimum log level filter if (severity.getLevel() < minLogLevel.getLevel()) { return; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/LogNotificationAppender.java
import org.apache.logging.log4j.core.Appender; import org.apache.logging.log4j.core.Core; import org.apache.logging.log4j.core.Filter; import org.apache.logging.log4j.core.Layout; import org.apache.logging.log4j.core.LogEvent; import org.apache.logging.log4j.core.appender.AbstractAppender; import org.apache.logging.log4j.core.config.Property; import org.apache.logging.log4j.core.config.plugins.Plugin;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt
} val eventListener: EventListener get() = eventListenerAdapter var eventCount = 0 private fun onEvent(callEvent: CallEvent) { if (eventCount++ == 0) { eventRecorder.logEvent(callEvent) val next = EventListenerRelay(call, eventRecorder) call.addEventListener(next.eventListener) } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
@DisplayName("Test log event") void testLogEvent() { Map<String, Object> context = new HashMap<>(); context.put("key1", "value1"); context.put("key2", "value2"); logger.logEvent(EventType.CONFIGURATION_CHANGE, Severity.INFO, "Configuration changed", context); Map<EventType, Long> stats = logger.getStatistics();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
try { secureWipePassword(); // Clear other sensitive data domain = null; username = null; sessionId = null; auditLogger.logEvent(EventType.SESSION_DESTROYED, Severity.INFO, "Authenticator closed and credentials wiped", Map.of("username", username != null ? username : "unknown")); } finally {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0)