Package org.jboss.modcluster
Interface ModClusterLogger
- All Known Implementing Classes:
ModClusterLogger_$logger
@MessageLogger(projectCode="MODCLUSTER")
public interface ModClusterLogger
- Author:
- Paul Ferraro
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContext
(Host host, Context context) void
advertiseStartFailed
(Throwable cause) void
catchingDebug
(Throwable throwable) Logging message that logs stack trace at the DEBUG level.connectorAddressUnknownHost
(String connectorAddress) connectorMatchesMultiple
(String connector) void
detectConnectorAddress
(Engine engine, InetAddress address) void
detectJvmRoute
(Engine engine, String jvmRoute) void
drainRequests
(int requests, Host host, Context context) void
drainSessions
(int sessions, Host host, Context context) void
invalidInitialLoad
(int initialLoad) void
noConnectorForEngine
(String engineName) void
notSupportedOnSystem
(String classname) void
parseHeaderFailed
(Throwable cause, MCMPRequestType command, InetSocketAddress proxy) void
potentialCrossTalking
(InetAddress address, String addressType, String message) void
recoverableErrorResponse
(String errorType, MCMPRequestType type, InetSocketAddress proxy, String message) void
removeContext
(Host host, Context context) void
requestDrainTimeout
(int requests, Host host, Context context, float seconds) void
requestsDrained
(Host host, Context context, float seconds) void
sendContextCommand
(MCMPRequestType command, Host host, Context context) void
sendEngineCommand
(MCMPRequestType command, Engine engine) void
sendFailed
(MCMPRequestType type, InetSocketAddress proxy, String message) void
sessionDrainTimeout
(int sessions, Host host, Context context, float seconds) void
sessionsDrained
(Host host, Context context, float seconds) void
shutdown()
void
startAdvertise
(InetSocketAddress address) void
startContext
(Host host, Context context) void
void
startSessionDraining
(int sessions, Host host, Context context, long timeout) void
startSessionDrainingIndefinitely
(int sessions, Host host, Context context) void
stopContext
(Host host, Context context) void
void
unrecoverableErrorResponse
(String errorType, MCMPRequestType type, InetSocketAddress proxy, String message)
-
Field Details
-
LOGGER
-
CATCHING_MARKER
- See Also:
-
-
Method Details
-
catchingDebug
@LogMessage(level=DEBUG) @Message(id=0, value="Catching") void catchingDebug(@Cause Throwable throwable) Logging message that logs stack trace at the DEBUG level.- Parameters:
throwable
- Throwable that has been caught
-
init
@LogMessage(level=INFO) @Message(id=1, value="Initializing mod_cluster version %s") void init(String version) -
shutdown
@LogMessage(level=INFO) @Message(id=2, value="Initiating mod_cluster shutdown") void shutdown() -
startServer
@LogMessage(level=DEBUG) @Message(id=3, value="Received server start event") void startServer() -
stopServer
@LogMessage(level=DEBUG) @Message(id=4, value="Received server stop event") void stopServer() -
addContext
-
removeContext
-
startContext
-
stopContext
-
sendEngineCommand
@LogMessage(level=DEBUG) @Message(id=9, value="Sending %s for %s") void sendEngineCommand(MCMPRequestType command, Engine engine) -
sendContextCommand
@LogMessage(level=DEBUG) @Message(id=10, value="Sending %s for %s:%s") void sendContextCommand(MCMPRequestType command, Host host, Context context) -
detectJvmRoute
-
detectConnectorAddress
@LogMessage(level=INFO) @Message(id=12, value="%s connector will use %s") void detectConnectorAddress(Engine engine, InetAddress address) -
drainRequests
-
requestsDrained
-
requestDrainTimeout
-
drainSessions
-
sessionsDrained
-
sessionDrainTimeout
-
potentialCrossTalking
@LogMessage(level=WARN) @Message(id=31, 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 https://developer.jboss.org/docs/DOC-9469 for details).") void potentialCrossTalking(InetAddress address, String addressType, String message) -
startAdvertise
@LogMessage(level=INFO) @Message(id=32, value="Listening to proxy advertisements on %s") void startAdvertise(InetSocketAddress address) -
advertiseStartFailed
@LogMessage(level=ERROR) @Message(id=34, value="Failed to start advertise listener") void advertiseStartFailed(@Cause Throwable cause) -
parseHeaderFailed
@LogMessage(level=ERROR) @Message(id=40, value="Failed to parse response header from %2$s for %1$s command") void parseHeaderFailed(@Cause Throwable cause, MCMPRequestType command, InetSocketAddress proxy) -
unrecoverableErrorResponse
@LogMessage(level=ERROR) @Message(id=41, value="Unrecoverable syntax error %s sending %s command to %s: %s") void unrecoverableErrorResponse(String errorType, MCMPRequestType type, InetSocketAddress proxy, String message) -
recoverableErrorResponse
@LogMessage(level=ERROR) @Message(id=42, value="Error %s sending %s command to %s, configuration will be reset: %s") void recoverableErrorResponse(String errorType, MCMPRequestType type, InetSocketAddress proxy, String message) -
sendFailed
@LogMessage(level=ERROR) @Message(id=43, value="Failed to send %s command to %s: %s") void sendFailed(MCMPRequestType type, InetSocketAddress proxy, String message) -
notSupportedOnSystem
@LogMessage(level=WARN) @Message(id=45, value="%s is not supported on this system and will be disabled.") void notSupportedOnSystem(String classname) -
startSessionDraining
-
connectorMatchesMultiple
@Message(id=48, value="Multiple connectors match specified host:port (%s)! Ensure connectorPort and/or connectorAddress are configured.") RuntimeException connectorMatchesMultiple(String connector) -
connectorAddressUnknownHost
@Message(id=49, value="Could not resolve configured connector address (%d)!") RuntimeException connectorAddressUnknownHost(String connectorAddress) -
invalidInitialLoad
@Message(id=50, value="Initial load must be within the range [0..100] or -1 to not prepopulate with initial load, but was: %d") RuntimeException invalidInitialLoad(int initialLoad) -
noValidAdvertiseInterfaceConfigured
@Message(id=51, value="No valid advertise interface configured! Disabling multicast advertise mechanism.") RuntimeException noValidAdvertiseInterfaceConfigured() -
createMulticastSocketWithNullMulticastAddress
@Message(id=52, value="Attempted to create multicast socket without multicast address specified! Disabling multicast advertise mechanism.") RuntimeException createMulticastSocketWithNullMulticastAddress() -
createMulticastSocketWithUnicastAddress
@Message(id=53, value="Attempted to create multicast socket with unicast address (%s)! Disabling multicast advertise mechanism.") RuntimeException createMulticastSocketWithUnicastAddress(InetAddress address) -
startSessionDrainingIndefinitely
-
noConnectorForEngine
@LogMessage(level=WARN) @Message(id=55, value="No configured connector for engine %s. If this engine should be used with mod_cluster check connector, connectorPort and/or connectorAddress configuration.") void noConnectorForEngine(String engineName)
-