From d16de905c5257614289c64a077152220869bec5d Mon Sep 17 00:00:00 2001 From: Ali <> Date: Thu, 28 Sep 2023 17:20:56 +0400 Subject: [PATCH] Add more logs --- Telegram/NotificationService/Sources/NotificationService.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/NotificationService/Sources/NotificationService.swift b/Telegram/NotificationService/Sources/NotificationService.swift index a3020311f1..2f1c4c85a7 100644 --- a/Telegram/NotificationService/Sources/NotificationService.swift +++ b/Telegram/NotificationService/Sources/NotificationService.swift @@ -731,6 +731,8 @@ private final class NotificationServiceHandler { }) semaphore.wait() + Logger.shared.log("NotificationService \(episode)", "Logging settings: (logToFile: \(loggingSettings.logToFile))") + Logger.shared.logToFile = loggingSettings.logToFile Logger.shared.logToConsole = loggingSettings.logToConsole Logger.shared.redactSensitiveData = loggingSettings.redactSensitiveData