diff --git a/pom.xml b/pom.xml
index 0b13036..c3225b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,7 +54,7 @@
2.6.1
2.5.0
2.3.0
- 3.9.0
+ 3.12.1
2.9.8
4.12
1.10.19
diff --git a/src/main/java/com/taboola/backstage/internal/CommunicationFactory.java b/src/main/java/com/taboola/backstage/internal/CommunicationFactory.java
index 953bbea..453853c 100644
--- a/src/main/java/com/taboola/backstage/internal/CommunicationFactory.java
+++ b/src/main/java/com/taboola/backstage/internal/CommunicationFactory.java
@@ -49,6 +49,8 @@ private HttpLoggingInterceptor createLoggingInterceptor(CommunicationConfig conf
HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor(new CommunicationInterceptor());
if(config.isDebug()) {
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
+ loggingInterceptor.redactHeader("Authorization");
+ loggingInterceptor.redactHeader("Cookie");
} else {
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC);
}