HADOOP-16036. WASB: Disable jetty logging configuration announcement.

Contributed by Da Zhou.
This commit is contained in:
Da Zhou 2019-01-10 12:07:09 +00:00 committed by Steve Loughran
parent 7211269142
commit 852701f793
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
1 changed files with 1 additions and 0 deletions

View File

@ -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());