Package io.undertow
Interface UndertowLogger
- All Superinterfaces:
BasicLogger
- All Known Implementing Classes:
UndertowLogger_$logger
log messages start at 5000
- Author:
- Stuart Douglas
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UndertowLoggerstatic final UndertowLoggerstatic final UndertowLoggerstatic final UndertowLoggerstatic final UndertowLoggerstatic final UndertowLoggerLogger used for IO exceptions.static final UndertowLoggerstatic final UndertowLoggerstatic final UndertowLoggerstatic final UndertowLogger -
Method Summary
Modifier and TypeMethodDescriptionvoidalpnConnectionFailed(org.xnio.ssl.SslConnection connection) voidauthenticationFailed(String userName, String mechanism) voidauthenticationFailedFor(String header, HttpServerExchange exchange, Exception e) voidbalancerCreated(int id, String name, boolean stickySession, String stickySessionCookie, String stickySessionPath, boolean stickySessionRemove, boolean stickySessionForce, int waitWorker, int maxattempts) voidblockingReadTimedOut(org.xnio.channels.ReadTimeoutException rte) voidblockingWriteTimedOut(org.xnio.channels.WriteTimeoutException rte) voidcacheEntryMismatchContent(Object key, int cacheIndicatedSize, long written) voidcannotProxyStartedRequest(HttpServerExchange exchange) voidcannotRemoveUploadedFile(Path file) cannotUseWildcardAddressAsModClusterManagementHost(String providedAddress) voidvoidcontentEntryMismatch(Object key, long indicatedSize, long written) voiddataLargerThanContentLength(long totalToWrite, long responseContentLength) voidvoidvoidvoidvoidvoidexceptionGeneratingErrorPage(Exception e, String location) voidexceptionHandlingRequest(Throwable t, String requestURI) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidfailedToCreateSSOForSession(String sessionId) voidvoidvoidfailedToNegotiateAtGSSAPI(HttpServerExchange exchange, Throwable e) voidvoidvoidvoidfailedToRegisterChangeListener(int ttl, int defaultTtl, Exception e) voidvoidfailedToSendPingResponseDBG(Exception e, String node, String jvmRoute) voidvoidvoidvoidvoidhttpClientPingTask(URI connection) voidignoringAjpRequestWithPrefixCode(byte prefix) voidinvalidTokenReceived(String tokenName, String tokenValue) voidvoidvoidmaxRestartsExceeded(int maxRestarts) voidvoidmcmpKeyValue(HttpString name, String value) voidmcmpProcessingError(String type, String errString) voidmcmpSendingResponse(InetSocketAddress destination, int status, HeaderMap headers, String response) voidmissingAuthorizationToken(String tokenName) voidnoALPNFallback(SocketAddress address) voidnodeConfigCreated(URI connectionURI, String balancer, String domain, String jvmRoute, boolean flushPackets, int flushwait, int ping, long ttl, int timeout, int maxConnections, int cacheConnections, int requestQueueSize, boolean queueNewRequests) voidnodeIsInError(String jvmRoute) voidnoFrameflushInTimeout(long timeoutMiliseconds) voidnullParameter(String name) voidoldStylePredicateSyntax(String string) voidparseRequestTimedOut(SocketAddress remoteAddress) voidpotentialCrossTalking(InetAddress group, String s, String localizedMessage) voidvoidproxyAdvertisementsStarted(String address, int frequency) voidproxyAdvertiseMessagePayload(String payload) voidproxyFailedToConnectToBackend(String requestURI, URI uri) voidproxyRequestFailed(String requestURI, Exception e) voidreceivedNodeLoad(String jvmRoute, String loadValue) voidregisteringContext(String contextPath, String jvmRoute) voidregisteringContext(String contextPath, String jvmRoute, List<String> aliases) voidregisteringNode(String jvmRoute, URI connectionURI) voidvoidremovingNode(String jvmRoute) voidrequestHeaderWasTooLarge(SocketAddress address, int size) voidvoidresponseWasNotTerminated(ServerConnection connection, HttpServerExchange exchange) voidvoidsslBufferOverflow(SslConduit sslConduit) voidvoidsslReadLoopDetected(SslConduit sslConduit) voidstickySessionCookieLengthTruncated(String original, String current) Undertow mod_cluster proxy messagesvoidstuckThreadCompleted(String threadName, long threadId, long active, int stuckCount) voidstuckThreadDetected(String threadName, long threadId, long active, Date start, String requestUri, int threshold, int stuckCount, Throwable stackTrace) voidtimingOutRequest(String requestURI) unableToResolveModClusterManagementHost(String providedHost) voidundertowRequestFailed(Throwable t, HttpServerExchange exchange) voidunknownVariable(String token) voidunregisteringContext(String contextPath, String jvmRoute) voidwrongCacheTTLValue(int ttl, int defaultTtl) Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
-
Field Details
-
ROOT_LOGGER
-
CLIENT_LOGGER
-
PREDICATE_LOGGER
-
REQUEST_LOGGER
-
SESSION_LOGGER
-
SECURITY_LOGGER
-
PROXY_REQUEST_LOGGER
-
REQUEST_DUMPER_LOGGER
-
REQUEST_IO_LOGGER
Logger used for IO exceptions. Generally these should be suppressed, because they are of little interest, and it is easy for an attacker to fill up the logs by intentionally causing IO exceptions. -
ERROR_RESPONSE
-
-
Method Details
-
exceptionProcessingRequest
-
ioExceptionReadingFromChannel
@LogMessage(level=ERROR) @Message(id=5003, value="IOException reading from channel") void ioExceptionReadingFromChannel(@Cause IOException e) -
cannotRemoveUploadedFile
-
requestHeaderWasTooLarge
@LogMessage(level=DEBUG) @Message(id=5006, value="Connection from %s terminated as request header was larger than %s") void requestHeaderWasTooLarge(SocketAddress address, int size) -
requestWasNotFullyConsumed
@LogMessage(level=DEBUG) @Message(id=5007, value="Request was not fully consumed") void requestWasNotFullyConsumed() -
invalidTokenReceived
-
missingAuthorizationToken
-
authenticationFailed
-
ignoringAjpRequestWithPrefixCode
@LogMessage(level=ERROR) @Message(id=5011, value="Ignoring AJP request with prefix %s") void ignoringAjpRequestWithPrefixCode(byte prefix) -
ioException
@LogMessage(level=DEBUG) @Message(id=5013, value="An IOException occurred") void ioException(@Cause IOException e) -
failedToParseRequest
-
errorRotatingAccessLog
@LogMessage(level=ERROR) @Message(id=5015, value="Error rotating access log") void errorRotatingAccessLog(@Cause IOException e) -
errorWritingAccessLog
@LogMessage(level=ERROR) @Message(id=5016, value="Error writing access log") void errorWritingAccessLog(@Cause IOException e) -
unknownVariable
-
exceptionInvokingCloseListener
@LogMessage(level=ERROR) @Message(id=5018, value="Exception invoking close listener %s") void exceptionInvokingCloseListener(ServerConnection.CloseListener l, @Cause Throwable e) -
errorWritingJDBCLog
-
exceptionGeneratingErrorPage
-
exceptionHandlingRequest
-
couldNotRegisterChangeListener
-
timingOutRequest
-
proxyRequestFailed
-
proxyFailedToConnectToBackend
-
listenerNotProgressing
@LogMessage(level=ERROR) @Message(id=5032, value="Listener not making progress on framed channel, closing channel to prevent infinite loop") void listenerNotProgressing() -
remoteEndpointFailedToSendInitialSettings
@LogMessage(level=ERROR) @Message(id=5034, value="Remote endpoint failed to send initial settings frame in HTTP2 connection, frame type %s") void remoteEndpointFailedToSendInitialSettings(int type) -
parseRequestTimedOut
@LogMessage(level=DEBUG) @Message(id=5035, value="Closing channel because of parse timeout for remote address %s") void parseRequestTimedOut(SocketAddress remoteAddress) -
noALPNFallback
@LogMessage(level=ERROR) @Message(id=5036, value="ALPN negotiation failed for %s and no fallback defined, closing connection") void noALPNFallback(SocketAddress address) -
stickySessionCookieLengthTruncated
@LogMessage(level=WARN) @Message(id=5037, value="Name of the cookie containing the session id, %s, had been too long and was truncated to: %s") void stickySessionCookieLengthTruncated(String original, String current) Undertow mod_cluster proxy messages -
balancerCreated
@LogMessage(level=DEBUG) @Message(id=5038, value="Balancer created: id: %s, name: %s, stickySession: %s, stickySessionCookie: %s, stickySessionPath: %s, stickySessionRemove: %s, stickySessionForce: %s, waitWorker: %s, maxattempts: %s") void balancerCreated(int id, String name, boolean stickySession, String stickySessionCookie, String stickySessionPath, boolean stickySessionRemove, boolean stickySessionForce, int waitWorker, int maxattempts) -
proxyAdvertisementsStarted
-
proxyAdvertiseMessagePayload
-
proxyAdvertiseCannotSendMessage
@LogMessage(level=ERROR) @Message(id=5041, value="Cannot send advertise message. Address: %s") void proxyAdvertiseCannotSendMessage(@Cause Exception e, InetSocketAddress address) -
mcmpHandlerCreated
@LogMessage(level=DEBUG) @Message(id=5042, value="Undertow mod_cluster proxy MCMPHandler created") void mcmpHandlerCreated() -
mcmpProcessingError
-
removingNode
-
registeringContext
-
registeringContext
-
unregisteringContext
-
nodeIsInError
-
nodeConfigCreated
@LogMessage(level=DEBUG) @Message(id=5049, value="NodeConfig created: connectionURI: %s, balancer: %s, load balancing group: %s, jvmRoute: %s, flushPackets: %s, flushwait: %s, ping: %s,ttl: %s, timeout: %s, maxConnections: %s, cacheConnections: %s, requestQueueSize: %s, queueNewRequests: %s") void nodeConfigCreated(URI connectionURI, String balancer, String domain, String jvmRoute, boolean flushPackets, int flushwait, int ping, long ttl, int timeout, int maxConnections, int cacheConnections, int requestQueueSize, boolean queueNewRequests) -
failedToProcessManagementReq
-
failedToSendPingResponse
-
failedToSendPingResponseDBG
-
registeringNode
-
mcmpKeyValue
@LogMessage(level=DEBUG) @Message(id=5054, value="MCMP processing, key: %s, value: %s") void mcmpKeyValue(HttpString name, String value) -
httpClientPingTask
-
receivedNodeLoad
-
mcmpSendingResponse
@LogMessage(level=DEBUG) @Message(id=5057, value="Sending MCMP response to destination: %s, HTTP status: %s, Headers: %s, response: %s") void mcmpSendingResponse(InetSocketAddress destination, int status, HeaderMap headers, String response) -
potentialCrossTalking
@LogMessage(level=WARN) @Message(id=5058, value="Could not bind multicast socket to %s (%s address): %s; make sure your multicast address is of the same type as the IP stack (IPv4 or IPv6). Multicast socket will not be bound to an address, but this may lead to cross talking (see http://www.jboss.org/community/docs/DOC-9469 for details).") void potentialCrossTalking(InetAddress group, String s, String localizedMessage) -
oldStylePredicateSyntax
-
maxRestartsExceeded
@Message(id=5061, value="More than %s restarts detected, breaking assumed infinite loop") IllegalStateException maxRestartsExceeded(int maxRestarts) -
extendedAccessLogPatternParseError
-
extendedAccessLogUnknownToken
-
extendedAccessLogMissingClosing
@LogMessage(level=ERROR) @Message(id=5064, value="No closing ) found for in decode") void extendedAccessLogMissingClosing() -
extendedAccessLogCannotDecode
-
extendedAccessLogCannotDecodeXParamValue
-
extendedAccessLogBadXParam
@LogMessage(level=ERROR) @Message(id=5067, value="X param in wrong format. Needs to be \'x-#(...)\'") void extendedAccessLogBadXParam() -
extendedAccessLogEmptyPattern
@LogMessage(level=INFO) @Message(id=5068, value="Pattern was just empty or whitespace") void extendedAccessLogEmptyPattern() -
failedToWriteJdbcAccessLog
-
failedToWritePreCachedFile
@LogMessage(level=ERROR) @Message(id=5070, value="Failed to write pre-cached file") void failedToWritePreCachedFile() -
undertowRequestFailed
@LogMessage(level=ERROR) @Message(id=5071, value="Undertow request failed %s") void undertowRequestFailed(@Cause Throwable t, HttpServerExchange exchange) -
stuckThreadDetected
@LogMessage(level=WARN) @Message(id=5072, value="Thread %s (id=%s) has been active for %s milliseconds (since %s) to serve the same request for %s and may be stuck (configured threshold for this StuckThreadDetectionValve is %s seconds). There is/are %s thread(s) in total that are monitored by this Valve and may be stuck.") void stuckThreadDetected(String threadName, long threadId, long active, Date start, String requestUri, int threshold, int stuckCount, @Cause Throwable stackTrace) -
stuckThreadCompleted
@LogMessage(level=WARN) @Message(id=5073, value="Thread %s (id=%s) was previously reported to be stuck but has completed. It was active for approximately %s milliseconds. There is/are still %s thread(s) that are monitored by this Valve and may be stuck.") void stuckThreadCompleted(String threadName, long threadId, long active, int stuckCount) -
failedToInvokeFailedCallback
@LogMessage(level=ERROR) @Message(id=5074, value="Failed to invoke error callback %s for SSE task") void failedToInvokeFailedCallback(ServerSentEventConnection.EventCallback callback, @Cause Exception e) -
unableToResolveModClusterManagementHost
@Message(id=5075, value="Unable to resolve mod_cluster management host\'s address for \'%s\'") IllegalStateException unableToResolveModClusterManagementHost(String providedHost) -
sslReadLoopDetected
@LogMessage(level=ERROR) @Message(id=5076, value="SSL read loop detected. This should not happen, please report this to the Undertow developers. Current state %s") void sslReadLoopDetected(SslConduit sslConduit) -
sslBufferOverflow
@LogMessage(level=ERROR) @Message(id=5077, value="SSL unwrap buffer overflow detected. This should not happen, please report this to the Undertow developers. Current state %s") void sslBufferOverflow(SslConduit sslConduit) -
alpnConnectionFailed
@LogMessage(level=ERROR) @Message(id=5079, value="ALPN negotiation on %s failed") void alpnConnectionFailed(org.xnio.ssl.SslConnection connection) -
resumedAndDispatched
@LogMessage(level=ERROR) @Message(id=5080, value="HttpServerExchange cannot have both async IO resumed and dispatch() called in the same cycle") void resumedAndDispatched() -
cannotProxyStartedRequest
@LogMessage(level=ERROR) @Message(id=5081, value="Response has already been started, cannot proxy request %s") void cannotProxyStartedRequest(HttpServerExchange exchange) -
cannotUseWildcardAddressAsModClusterManagementHost
@Message(id=5082, value="Configured mod_cluster management host address cannot be a wildcard address (%s)!") IllegalArgumentException cannotUseWildcardAddressAsModClusterManagementHost(String providedAddress) -
unexpectedEndOfCompressedInput
@Message(id=5083, value="Unexpected end of compressed input") IOException unexpectedEndOfCompressedInput() -
dataLargerThanContentLength
@Message(id=5084, value="Attempted to write %s bytes however content-length has been set to %s") IOException dataLargerThanContentLength(long totalToWrite, long responseContentLength) -
responseWasNotTerminated
@LogMessage(level=DEBUG) @Message(id=5085, value="Connection %s for exchange %s was not closed cleanly, forcibly closing connection") void responseWasNotTerminated(ServerConnection connection, HttpServerExchange exchange) -
failedToAcceptSSLRequest
-
closeAsyncFailed
@LogMessage(level=ERROR) @Message(id=5088, value="Failed to execute ServletOutputStream.closeAsync() on IO thread") void closeAsyncFailed(@Cause IOException e) -
nullParameter
@Message(id=5089, value="Method parameter \'%s\' cannot be null") IllegalArgumentException nullParameter(String name) -
handleUnexpectedFailure
-
directBufferDeallocatorInitializationFailed
-
directBufferDeallocationFailed
-
blockingReadTimedOut
@LogMessage(level=DEBUG) @Message(id=5093, value="Blocking read timed out") void blockingReadTimedOut(@Cause org.xnio.channels.ReadTimeoutException rte) -
blockingWriteTimedOut
@LogMessage(level=DEBUG) @Message(id=5094, value="Blocking write timed out") void blockingWriteTimedOut(@Cause org.xnio.channels.WriteTimeoutException rte) -
sslEngineDelegatedTaskRejected
@LogMessage(level=DEBUG) @Message(id=5095, value="SSLEngine delegated task was rejected") void sslEngineDelegatedTaskRejected(@Cause RejectedExecutionException ree) -
authenticationFailedFor
@LogMessage(level=DEBUG) @Message(id=5096, value="Authentication failed for digest header %s in %s") void authenticationFailedFor(String header, HttpServerExchange exchange, @Cause Exception e) -
failedToObtainSubject
@LogMessage(level=DEBUG) @Message(id=5097, value="Failed to obtain subject for %s") void failedToObtainSubject(HttpServerExchange exchange, @Cause GeneralSecurityException e) -
failedToNegotiateAtGSSAPI
@LogMessage(level=DEBUG) @Message(id=5098, value="GSSAPI negotiation failed for %s") void failedToNegotiateAtGSSAPI(HttpServerExchange exchange, @Cause Throwable e) -
failedToCreateSSOForSession
-
failedToListPathsForFile
-
noSourceToListResourcesFrom
@LogMessage(level=DEBUG) @Message(id=5101, value="No source to list resources from") void noSourceToListResourcesFrom() -
noFrameflushInTimeout
@LogMessage(level=WARN) @Message(id=5102, value="Flushing waiting in a frame more than %s miliseconds. The framed channel will be forcibly closed.") void noFrameflushInTimeout(long timeoutMiliseconds) -
wrongCacheTTLValue
@LogMessage(level=WARN) @Message(id=5103, value="Cache TTL set to wrong value \'%sms\'. Defaulting to \'%sms\'.") void wrongCacheTTLValue(int ttl, int defaultTtl) -
failedToRegisterChangeListener
@LogMessage(level=WARN) @Message(id=5104, value="Could not register resource change listener for caching resource manager, automatic invalidation of cached resource will not work. TTL value configured \'%sms\'. Defaulting to \'%sms\'.") void failedToRegisterChangeListener(int ttl, int defaultTtl, @Cause Exception e) -
cacheEntryMismatchContent
-
contentEntryMismatch
-
failedToSetWSTimeout
-