Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.5.0
-
Security Level: Public
-
None
-
CBG Sprint 20
-
3
Description
The changes in https://github.com/couchbase/sync_gateway/pull/3593 incorrectly added ERR level logging for expected REST API errors (key not found on GET, etc).
Error logging should be reserved for critical errors that require user attention.
In handler.go, h.writeError should be modified to only log the error if status is greater than or equal to 500.