diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-04-12 13:10:35 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-04-12 13:10:40 -0400 |
commit | 2cf18db82df6215b1b34f9b33ec312d89b2934e9 (patch) | |
tree | ba2d1839389740e5f6b997c34046016c52e5fc30 /policy-endpoints/src/main | |
parent | ea29ed1a002ab282a36761448575ffc2e517284d (diff) |
Set jetty.dump to trace
Makes Junit debugging more simple.
Issue-ID: POLICY-1641
Change-Id: I5835f608e468e90e11d923973d726b0313e91189
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'policy-endpoints/src/main')
-rw-r--r-- | policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/internal/JettyServletServer.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/internal/JettyServletServer.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/internal/JettyServletServer.java index 76ad116f..58c2ada7 100644 --- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/internal/JettyServletServer.java +++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/http/server/internal/JettyServletServer.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -123,12 +123,12 @@ public abstract class JettyServletServer implements HttpServletServer, Runnable /** * Constructor. - * + * * @param name server name * @param host server host * @param port server port * @param contextPath context path - * + * * @throws IllegalArgumentException if invalid parameters are passed in */ public JettyServletServer(String name, boolean https, String host, int port, String contextPath) { @@ -200,7 +200,7 @@ public abstract class JettyServletServer implements HttpServletServer, Runnable /** * Returns the https connector. - * + * * @return the server connector */ public ServerConnector httpsConnector() { @@ -300,8 +300,8 @@ public abstract class JettyServletServer implements HttpServletServer, Runnable this.jettyServer.start(); - if (logger.isInfoEnabled()) { - logger.info("{}: STARTED: {}", this, this.jettyServer.dump()); + if (logger.isTraceEnabled()) { + logger.trace("{}: STARTED: {}", this, this.jettyServer.dump()); } synchronized (this.startCondition) { @@ -456,7 +456,7 @@ public abstract class JettyServletServer implements HttpServletServer, Runnable /** * Get name. - * + * * @return the name */ public String getName() { @@ -465,7 +465,7 @@ public abstract class JettyServletServer implements HttpServletServer, Runnable /** * Get host. - * + * * @return the host */ public String getHost() { @@ -474,7 +474,7 @@ public abstract class JettyServletServer implements HttpServletServer, Runnable /** * Get user. - * + * * @return the user */ public String getUser() { @@ -483,7 +483,7 @@ public abstract class JettyServletServer implements HttpServletServer, Runnable /** * Get password. - * + * * @return the password */ @JsonIgnore |