From f040e3ed4246d6e0343a189e19279a195f4eed59 Mon Sep 17 00:00:00 2001 From: Brice Schaffner <67745584+ltshb@users.noreply.github.com> Date: Thu, 4 Jul 2024 11:53:06 +0200 Subject: [PATCH] Revert "PB-747: Enabled logs on PROD to try to understand the blank screen issue - #patch" --- src/utils/logging.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/utils/logging.js b/src/utils/logging.js index c690ce239..89c4a64df 100644 --- a/src/utils/logging.js +++ b/src/utils/logging.js @@ -25,11 +25,7 @@ export const LogLevel = { */ const log = (level, ...message) => { // In production we don't log debug level and info level - // TODO PB-747: remove info and debug level once we found the blank screen issue - if ( - ENVIRONMENT === 'production' && - ![LogLevel.ERROR, LogLevel.WARNING, LogLevel.INFO, LogLevel.DEBUG].includes(level) - ) { + if (ENVIRONMENT === 'production' && ![LogLevel.ERROR, LogLevel.WARNING].includes(level)) { return }