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

Contributed by Da Zhou.

(cherry picked from commit 852701f793)
This commit is contained in:
Da Zhou 2019-01-10 12:08:27 +00:00 committed by Steve Loughran
parent 6c2500d7ca
commit 9cb6000c8a
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 @@ public class AzureNativeFileSystemStore implements NativeFileSystemStore {
* @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());