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 @@ public class AzureNativeFileSystemStore implements NativeFileSystemStore {
|
||||||
* @return The JSON serializer.
|
* @return The JSON serializer.
|
||||||
*/
|
*/
|
||||||
private static JSON createPermissionJsonSerializer() {
|
private static JSON createPermissionJsonSerializer() {
|
||||||
|
org.eclipse.jetty.util.log.Log.getProperties().setProperty("org.eclipse.jetty.util.log.announce", "false");
|
||||||
JSON serializer = new JSON();
|
JSON serializer = new JSON();
|
||||||
serializer.addConvertor(PermissionStatus.class,
|
serializer.addConvertor(PermissionStatus.class,
|
||||||
new PermissionStatusJsonSerializer());
|
new PermissionStatusJsonSerializer());
|
||||||
|
|
Loading…
Reference in New Issue