Skip to content

Commit

Permalink
[UNDERTOW-447] Debug message on mod_cluster MCMP handler creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Karm committed Jul 15, 2015
1 parent 841dd30 commit 0c10c19
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ public void handleRequest(HttpServerExchange exchange) throws Exception {
}
}
};
if(predicate != null) {
UndertowLogger.ROOT_LOGGER.modClusterMCMPHttpHandlerCreated();
if (predicate != null) {
return new PredicateHandler(predicate, theHandler, next);
} else {
return theHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import static org.jboss.logging.Logger.Level.ERROR;
import static org.jboss.logging.Logger.Level.INFO;
import static org.jboss.logging.Logger.Level.WARN;
import static org.jboss.logging.Logger.Level.DEBUG;

import java.io.File;
import java.net.InetSocketAddress;
Expand Down Expand Up @@ -305,7 +306,7 @@ public interface UndertowLogger extends BasicLogger {
void sharedSessionConfigNotInRootDeployment(String deployment);

@Message(id = 70, value = "Could not load handler %s from %s module")
RuntimeException couldNotLoadHandlerFromModule(String className,String moduleName, @Cause Exception e);
RuntimeException couldNotLoadHandlerFromModule(String className, String moduleName, @Cause Exception e);

@LogMessage(level = ERROR)
@Message(id = 71, value = "Jetty ALPN not found. HTTP2 and SPDY are not available. Please make sure Jetty ALPN is on the boot class path.")
Expand All @@ -326,4 +327,8 @@ public interface UndertowLogger extends BasicLogger {

@Message(id = 76, value = "Cannot remove resource of type %s")
IllegalArgumentException cannotRemoveResourceOfType(String type);

@LogMessage(level = DEBUG)
@Message(id = 77, value = "HttpHandler for mod_cluster MCMP created.")
void modClusterMCMPHttpHandlerCreated();
}

0 comments on commit 0c10c19

Please sign in to comment.