Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default log file location #2306

pasin opened this issue Jan 4, 2019 · 1 comment


Copy link

commented Jan 4, 2019

  • iOS : <NSCachesDirectory>/CouchbaseLite/Logs
  • Mac: ~/Library/Logs/<BundleID>/CouchbaseLite

@pasin pasin self-assigned this Jan 4, 2019

@pasin pasin added bug P1: high labels Jan 4, 2019

@pasin pasin added this to the Iridium milestone Jan 4, 2019

@djpongh djpongh added backlog ready and removed backlog labels Jan 4, 2019

@pasin pasin assigned jayahariv and unassigned pasin Jan 10, 2019


This comment has been minimized.

Copy link
Contributor Author

commented Jan 11, 2019

As CBL doesn't know when the log files will get created, we can't set NSURLIsExcludedFromBackupKey to the log files directly from CBL. For iOS, I think we will use the NSCachesDirectory. If it turns out the be an issue, we can try to fix it later.

pasin added a commit that referenced this issue Jan 11, 2019

Fix default log directory
Fixed the default log directory to the followings:

iOS : <NSCachesDirectory>/CouchbaseLite/Logs
Mac: ~/Library/Logs/<BundleID>/CouchbaseLite


@pasin pasin self-assigned this Jan 11, 2019

@pasin pasin added review in progress and removed ready labels Jan 11, 2019

@pasin pasin closed this in a566ca1 Jan 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.