Package org.jboss.modcluster
Interface ModClusterLogger
- All Known Implementing Classes:
ModClusterLogger_$logger
@MessageLogger(projectCode="MODCLUSTER")
public interface ModClusterLogger
- Author:
- Paul Ferraro
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContext(Host host, Context context) voidadvertiseStartFailed(Throwable cause) voidcatchingDebug(Throwable throwable) Logging message that logs stack trace at the DEBUG level.connectorAddressUnknownHost(String connectorAddress) connectorMatchesMultiple(String connector) voiddetectConnectorAddress(Engine engine, InetAddress address) voiddetectJvmRoute(Engine engine, String jvmRoute) voiddrainRequests(int requests, Host host, Context context) voiddrainSessions(int sessions, Host host, Context context) voidinvalidInitialLoad(int initialLoad) voidnoConnectorForEngine(String engineName) voidnotSupportedOnSystem(String classname) voidparseHeaderFailed(Throwable cause, MCMPRequestType command, InetSocketAddress proxy) voidpotentialCrossTalking(InetAddress address, String addressType, String message) voidrecoverableErrorResponse(String errorType, MCMPRequestType type, InetSocketAddress proxy, String message) voidremoveContext(Host host, Context context) voidrequestDrainTimeout(int requests, Host host, Context context, float seconds) voidrequestsDrained(Host host, Context context, float seconds) voidsendContextCommand(MCMPRequestType command, Host host, Context context) voidsendEngineCommand(MCMPRequestType command, Engine engine) voidsendFailed(MCMPRequestType type, InetSocketAddress proxy, String message) voidsessionDrainTimeout(int sessions, Host host, Context context, float seconds) voidsessionsDrained(Host host, Context context, float seconds) voidshutdown()voidstartAdvertise(InetSocketAddress address) voidstartContext(Host host, Context context) voidvoidstartSessionDraining(int sessions, Host host, Context context, long timeout) voidstartSessionDrainingIndefinitely(int sessions, Host host, Context context) voidstopContext(Host host, Context context) voidvoidunrecoverableErrorResponse(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 crosstalking.") 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)
-