From b35084f065c743c67801a9629782fae38417a9a0 Mon Sep 17 00:00:00 2001 From: Brice Schaffner Date: Thu, 4 Jul 2024 11:38:53 +0200 Subject: [PATCH] PB-747: Enabled logs on PROD to try to understand the blank screen issue --- src/utils/logging.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/utils/logging.js b/src/utils/logging.js index 89c4a64df..c690ce239 100644 --- a/src/utils/logging.js +++ b/src/utils/logging.js @@ -25,7 +25,11 @@ export const LogLevel = { */ const log = (level, ...message) => { // In production we don't log debug level and info level - if (ENVIRONMENT === 'production' && ![LogLevel.ERROR, LogLevel.WARNING].includes(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) + ) { return }