Skip to content

Logging redirect is missing for 2.X #2221

@timritzer

Description

@timritzer

The 1.X branch of code offered a method on CBLManager (CBLManager.redirectLogging) That allowed redirecting the logging to be used by the developer for problems in the field (without access to the device).
We built infrastructure that allowed that logging to be uploaded to troubleshoot issues.

CBLog.m features a logging callback, and the underlying couchbase-lite-core supports it well, however the set callback method isn't exposed anymore. (c4log_writeToCallback specifically)

Overwriting the default log callback is an important use case for troubleshooting field devices, but I no longer see a way to call it without a custom build (Something I hesitate to do because it makes EE support less straightforward.


  • Version: Couchbase Lite Swift 2.1
  • Client OS: iOS 12
  • Server: N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions