From 7d972a50f25f2e42b0532e778e5b1b579e0dec8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 23 Sep 2019 15:32:04 +0200 Subject: [PATCH] ios: set logger subsystem and category The subsystem is set to the bundle ID and the category to "JitsiMeetSDK". --- ios/sdk/src/JitsiMeetLogger.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ios/sdk/src/JitsiMeetLogger.m b/ios/sdk/src/JitsiMeetLogger.m index 245af499e..03a2a38c1 100644 --- a/ios/sdk/src/JitsiMeetLogger.m +++ b/ios/sdk/src/JitsiMeetLogger.m @@ -26,7 +26,9 @@ */ __attribute__((constructor)) static void initializeLogger() { - [DDLog addLogger:[DDOSLogger sharedInstance]]; + NSString *mainBundleId = [NSBundle mainBundle].bundleIdentifier; + DDOSLogger *osLogger = [[DDOSLogger alloc] initWithSubsystem:mainBundleId category:@"JitsiMeetSDK"]; + [DDLog addLogger:osLogger]; } + (void)addHandler:(JitsiMeetBaseLogHandler *)handler {