Skip to content

Commit

Permalink
GH-1157 Fix JSON logging in AWS
Browse files Browse the repository at this point in the history
Resolves #1157
  • Loading branch information
olegz committed Jul 3, 2024
1 parent 75cfd19 commit 6ca9ad6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.util.TreeSet;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

Expand All @@ -53,7 +52,7 @@ public final class JsonMasker {

private JsonMasker() {
this.keysToMask = loadKeys();
this.mapper = new JacksonMapper(new ObjectMapper().enable(SerializationFeature.INDENT_OUTPUT));
this.mapper = new JacksonMapper(new ObjectMapper());

}

Expand Down

0 comments on commit 6ca9ad6

Please sign in to comment.