diff --git a/Linphone/Linphone.entitlements b/Linphone/Linphone.entitlements
index 7fe270b49..5e9048f46 100644
--- a/Linphone/Linphone.entitlements
+++ b/Linphone/Linphone.entitlements
@@ -9,6 +9,7 @@
group.belledonne-communications.linphone
group.org.linphone.phone.linphoneExtension
group.org.linphone.phone.msgNotification
+ group.org.linphone.phone.logs
com.apple.security.files.user-selected.read-only
diff --git a/Linphone/Utils/Log.swift b/Linphone/Utils/Log.swift
index 37a088142..25aecc8e5 100644
--- a/Linphone/Utils/Log.swift
+++ b/Linphone/Utils/Log.swift
@@ -34,8 +34,7 @@ class Log: LoggingServiceDelegate {
private init() {
service.domain = Bundle.main.bundleIdentifier!
- // CRASH TO BE FIXED ??
- //Core.setLogCollectionPath(path: Factory.Instance.getDownloadDir(context: UnsafeMutablePointer(mutating: (Config.appGroupName as NSString).utf8String)))
+ Core.setLogCollectionPath(path: Factory.Instance.getDownloadDir(context: UnsafeMutablePointer(mutating: (Config.appGroupName as NSString).utf8String)))
Core.enableLogCollection(state: LogCollectionState.Enabled)
setMask()
LoggingService.Instance.addDelegate(delegate: self)