Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Security Level: Public
-
None
-
CBG Sprint 20, CBG Sprint 21
-
8
Description
Need to address two issues related to logging generated by sg-replicate:
- We don't have a way to enable debug logging via Sync Gateway's config. At minimum we want the ability to call EnableSgReplicateLogging if the "Replicate" log key is enabled with log level debug or trace.
- Error/warn logging within sg-replicate isn't sent to Sync Gateway's logs.
The second issue may require enhancing sg-replicate to accept Sync Gateway's logging interface, instead of using clog. Needs further analysis to identify the right approach.