Package io.undertow
Interface UndertowLogger
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
UndertowLogger_$logger
@MessageLogger(projectCode="UT")
public interface UndertowLogger
extends org.jboss.logging.BasicLogger
log messages start at 5000
- Author:
- Stuart Douglas
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UndertowLogger
static final UndertowLogger
static final UndertowLogger
static final UndertowLogger
static final UndertowLogger
static final UndertowLogger
Logger used for IO exceptions.static final UndertowLogger
static final UndertowLogger
static final UndertowLogger
static final UndertowLogger
-
Method Summary
Modifier and TypeMethodDescriptionvoid
alpnConnectionFailed
(org.xnio.ssl.SslConnection connection) void
authenticationFailed
(String userName, String mechanism) void
authenticationFailedFor
(String header, HttpServerExchange exchange, Exception e) void
balancerCreated
(int id, String name, boolean stickySession, String stickySessionCookie, String stickySessionPath, boolean stickySessionRemove, boolean stickySessionForce, int waitWorker, int maxattempts) void
blockingReadTimedOut
(org.xnio.channels.ReadTimeoutException rte) void
blockingWriteTimedOut
(org.xnio.channels.WriteTimeoutException rte) void
cannotProxyStartedRequest
(HttpServerExchange exchange) void
cannotRemoveUploadedFile
(Path file) cannotUseWildcardAddressAsModClusterManagementHost
(String providedAddress) void
void
dataLargerThanContentLength
(long totalToWrite, long responseContentLength) void
void
void
void
void
void
exceptionGeneratingErrorPage
(Exception e, String location) void
exceptionHandlingRequest
(Throwable t, String requestURI) void
void
void
void
void
void
void
void
void
void
void
void
failedToNegotiateAtGSSAPI
(HttpServerExchange exchange, Throwable e) void
void
void
void
void
failedToSendPingResponseDBG
(Exception e, String node, String jvmRoute) void
void
void
void
httpClientPingTask
(URI connection) void
ignoringAjpRequestWithPrefixCode
(byte prefix) void
invalidTokenReceived
(String tokenName, String tokenValue) void
void
void
maxRestartsExceeded
(int maxRestarts) void
void
mcmpKeyValue
(HttpString name, String value) void
mcmpProcessingError
(String type, String errString) void
mcmpSendingResponse
(InetSocketAddress destination, int status, HeaderMap headers, String response) void
missingAuthorizationToken
(String tokenName) void
noALPNFallback
(SocketAddress address) 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) void
nodeIsInError
(String jvmRoute) nullParameter
(String name) void
oldStylePredicateSyntax
(String string) void
parseRequestTimedOut
(SocketAddress remoteAddress) void
potentialCrossTalking
(InetAddress group, String s, String localizedMessage) void
void
proxyAdvertisementsStarted
(String address, int frequency) void
proxyAdvertiseMessagePayload
(String payload) void
proxyFailedToConnectToBackend
(String requestURI, URI uri) void
proxyRequestFailed
(String requestURI, Exception e) void
receivedNodeLoad
(String jvmRoute, String loadValue) void
registeringContext
(String contextPath, String jvmRoute) void
registeringContext
(String contextPath, String jvmRoute, List<String> aliases) void
registeringNode
(String jvmRoute, URI connectionURI) void
void
removingNode
(String jvmRoute) void
requestHeaderWasTooLarge
(SocketAddress address, int size) void
void
responseWasNotTerminated
(ServerConnection connection, HttpServerExchange exchange) void
void
sslBufferOverflow
(SslConduit sslConduit) void
void
sslReadLoopDetected
(SslConduit sslConduit) void
stickySessionCookieLengthTruncated
(String original, String current) Undertow mod_cluster proxy messagesvoid
stuckThreadCompleted
(String threadName, long threadId, long active, int stuckCount) void
stuckThreadDetected
(String threadName, long threadId, long active, Date start, String requestUri, int threshold, int stuckCount, Throwable stackTrace) void
timingOutRequest
(String requestURI) unableToResolveModClusterManagementHost
(String providedHost) void
undertowRequestFailed
(Throwable t, HttpServerExchange exchange) void
unknownVariable
(String token) void
unregisteringContext
(String contextPath, String jvmRoute) 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
@LogMessage(level=ERROR) @Message(id=5001, value="An exception occurred processing the request") void exceptionProcessingRequest(@Cause Throwable cause) -
ioExceptionReadingFromChannel
@LogMessage(level=ERROR) @Message(id=5003, value="IOException reading from channel") void ioExceptionReadingFromChannel(@Cause IOException e) -
cannotRemoveUploadedFile
@LogMessage(level=ERROR) @Message(id=5005, value="Cannot remove uploaded file %s") void cannotRemoveUploadedFile(Path file) -
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
@LogMessage(level=DEBUG) @Message(id=5009, value="A mandatory token %s is missing from the request.") void missingAuthorizationToken(String tokenName) -
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
@LogMessage(level=DEBUG) @Message(id=5014, value="Failed to parse request") void failedToParseRequest(@Cause Throwable e) -
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
@LogMessage(level=ERROR) @Message(id=5017, value="Unknown variable %s. For the literal percent character use two percent characters: \'%%\'") void unknownVariable(String token) -
exceptionInvokingCloseListener
@LogMessage(level=ERROR) @Message(id=5018, value="Exception invoking close listener %s") void exceptionInvokingCloseListener(ServerConnection.CloseListener l, @Cause Throwable e) -
errorWritingJDBCLog
@LogMessage(level=ERROR) @Message(id=5020, value="Error writing JDBC log") void errorWritingJDBCLog(@Cause Exception e) -
exceptionGeneratingErrorPage
-
exceptionHandlingRequest
-
couldNotRegisterChangeListener
@LogMessage(level=ERROR) @Message(id=5024, value="Could not register resource change listener for caching resource manager, automatic invalidation of cached resource will not work") void couldNotRegisterChangeListener(@Cause Exception e) -
timingOutRequest
@LogMessage(level=ERROR) @Message(id=5027, value="Timing out request to %s") void timingOutRequest(String requestURI) -
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
@LogMessage(level=INFO) @Message(id=5039, value="Undertow starts mod_cluster proxy advertisements on %s with frequency %s ms") void proxyAdvertisementsStarted(String address, int frequency) -
proxyAdvertiseMessagePayload
@LogMessage(level=DEBUG) @Message(id=5040, value="Gonna send payload:\n%s") void proxyAdvertiseMessagePayload(String payload) -
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
@LogMessage(level=INFO) @Message(id=5044, value="Removing node %s") void removingNode(String jvmRoute) -
registeringContext
-
registeringContext
-
unregisteringContext
-
nodeIsInError
@LogMessage(level=DEBUG) @Message(id=5048, value="Node %s in error") void nodeIsInError(String jvmRoute) -
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
@LogMessage(level=ERROR) @Message(id=5050, value="Failed to process management request") void failedToProcessManagementReq(@Cause Exception e) -
failedToSendPingResponse
@LogMessage(level=ERROR) @Message(id=5051, value="Failed to send ping response") void failedToSendPingResponse(@Cause Exception e) -
failedToSendPingResponseDBG
-
registeringNode
-
mcmpKeyValue
@LogMessage(level=DEBUG) @Message(id=5054, value="MCMP processing, key: %s, value: %s") void mcmpKeyValue(HttpString name, String value) -
httpClientPingTask
@LogMessage(level=DEBUG) @Message(id=5055, value="HttpClientPingTask run for connection: %s") void httpClientPingTask(URI connection) -
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
@LogMessage(level=WARN) @Message(id=5060, value="Predicate %s uses old style square braces to define predicates, which will be removed in a future release. predicate[value] should be changed to predicate(value)") void oldStylePredicateSyntax(String string) -
maxRestartsExceeded
@Message(id=5061, value="More than %s restarts detected, breaking assumed infinite loop") IllegalStateException maxRestartsExceeded(int maxRestarts) -
extendedAccessLogPatternParseError
@LogMessage(level=ERROR) @Message(id=5062, value="Pattern parse error") void extendedAccessLogPatternParseError(@Cause Throwable t) -
extendedAccessLogUnknownToken
@LogMessage(level=ERROR) @Message(id=5063, value="Unable to decode with rest of chars starting: %s") void extendedAccessLogUnknownToken(String token) -
extendedAccessLogMissingClosing
@LogMessage(level=ERROR) @Message(id=5064, value="No closing ) found for in decode") void extendedAccessLogMissingClosing() -
extendedAccessLogCannotDecode
@LogMessage(level=ERROR) @Message(id=5065, value="The next characters couldn\'t be decoded: %s") void extendedAccessLogCannotDecode(String chars) -
extendedAccessLogCannotDecodeXParamValue
@LogMessage(level=ERROR) @Message(id=5066, value="X param for servlet request, couldn\'t decode value: %s") void extendedAccessLogCannotDecodeXParamValue(String value) -
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
@LogMessage(level=ERROR) @Message(id=5069, value="Failed to write JDBC access log") void failedToWriteJdbcAccessLog(@Cause Exception e) -
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
@LogMessage(level=ERROR) @Message(id=5086, value="Failed to accept SSL request") void failedToAcceptSSLRequest(@Cause Exception e) -
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
@LogMessage(level=ERROR) @Message(id=5090, value="Unexpected failure") void handleUnexpectedFailure(@Cause Throwable t) -
directBufferDeallocatorInitializationFailed
@LogMessage(level=ERROR) @Message(id=5091, value="Failed to initialize DirectByteBufferDeallocator") void directBufferDeallocatorInitializationFailed(@Cause Throwable t) -
directBufferDeallocationFailed
@LogMessage(level=DEBUG) @Message(id=5092, value="Failed to free direct buffer") void directBufferDeallocationFailed(@Cause Throwable t) -
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)
-