HADOOP-16036. WASB: Disable jetty logging configuration announcement.
authorDa Zhou <da.zhou@microsoft.com>
Thu, 10 Jan 2019 12:07:09 +0000 (12:07 +0000)
committerSteve Loughran <stevel@apache.org>
Thu, 10 Jan 2019 12:07:09 +0000 (12:07 +0000)
Contributed by Da Zhou.

hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/AzureNativeFileSystemStore.java

index 7bf3420..e16fd6e 100644 (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());