Fix log directory so that the app extension logs are written in the same files as the application log

This commit is contained in:
QuentinArguillere 2022-01-21 16:21:56 +01:00
parent ee8acb5e16
commit a6fb4e42b7
2 changed files with 39 additions and 8 deletions

View file

@ -10,6 +10,37 @@ Group changes to describe their impact on the project, as follows:
Fixed for any bug fixes.
Security to invite users to upgrade in case of vulnerabilities.
## [4.6.0] - 2021-31-02
### Added
### Changed
### Fixed
(6) Clickable links in chat bubbles
(6) "sips" account when transport is tls
(6) app extension logs missing when exporting logs
## [4.5.0] - 2021-07-08
### Added
- Add option to enable VFS
- Ephemeral messages (beta)
### Changed
- Updating SDK to 5.0 version
- Using linphone SDK 5.0 API to better handle audio route
- Replaced all notions of "Proxy configs" with "Accounts" from the 5.0 SDK
- Removed most of the code related to remote and VOIP Push Notification receptions, now handled in the SDK
- No longer pause all calls when receiving a new call.
- No longer switch to speaker during video call if another output device (bluetooth headset) is already connected
- When answering a video call while the phone is locked, send the "No camera available" image until the video is enabled through the CallKit button
- Chat messages containing both text and file are now displayed in the same chat bubble
### Fixed
- Fix several memory leaks
- Various crashs and issues.
- When the App is started through a Push Notification, properly redirect the view to the corresponding chat rather than going to the home page
## [4.4.0] - 2021-03-30

View file

@ -33,7 +33,7 @@ class LinphoneLoggingServiceManager: LoggingServiceDelegate {
let debugLevel = config.getInt(section: "app", key: "debugenable_preference", defaultValue: LogLevel.Debug.rawValue)
let debugEnabled = (debugLevel >= LogLevel.Debug.rawValue && debugLevel < LogLevel.Error.rawValue)
Factory.Instance.logCollectionPath = Factory.Instance.getDownloadDir(context: UnsafeMutablePointer<Int8>(mutating: (APP_GROUP_ID as NSString).utf8String))
Factory.Instance.logCollectionPath = Factory.Instance.getDataDir(context: UnsafeMutablePointer<Int8>(mutating: (APP_GROUP_ID as NSString).utf8String))
Factory.Instance.enableLogCollection(state: debugEnabled ? LogCollectionState.Enabled : LogCollectionState.Disabled)
log.domain = domain
log.logLevel = debugLevel==0 ? LogLevel.Fatal : LogLevel(rawValue: debugLevel)