HADOOP-16036. WASB: Disable jetty logging configuration announcement.
Contributed by Da Zhou.
This commit is contained in:
parent
7211269142
commit
852701f793
@ -403,6 +403,7 @@ private void suppressRetryPolicyInClientIfNeeded() {
|
||||
* @return The JSON serializer.
|
||||
*/
|
||||
private static JSON createPermissionJsonSerializer() {
|
||||
org.eclipse.jetty.util.log.Log.getProperties().setProperty("org.eclipse.jetty.util.log.announce", "false");
|
||||
JSON serializer = new JSON();
|
||||
serializer.addConvertor(PermissionStatus.class,
|
||||
new PermissionStatusJsonSerializer());
|
||||
|
Loading…
Reference in New Issue
Block a user