)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1004568,"name":"Jared Casey","email":"jared.casey@couchbase.com","username":"thejcfactor","avatars":[{"url":"https://www.gravatar.com/avatar/20ac69da8a1fb4cc11bdd1c880389132.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/20ac69da8a1fb4cc11bdd1c880389132.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/20ac69da8a1fb4cc11bdd1c880389132.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/20ac69da8a1fb4cc11bdd1c880389132.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"1789f9355de901938f14b2bb53f90d23fdd4e0a4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"c71d0883_cc5fdc2d","updated":"2026-03-24 15:58:02.000000000","message":"Adding @dimitris.christodoulou@couchbase.com\u0027 comment from PYCBC-1747 (it is a note on how we handle the log level enum in the bindings: `src/cpp_core_enums.hxx`)\n\nAccording to the Python docs, NOTSET (0) doesn\u0027t correspond to off. It\u0027s meant to use the parent logger to determine the level (which we might need to handle in configure_logging() in couchbase/__init__.py.\n\nI think that means that NOTSET could be omitted - it should never reach the core. The wrapper code should be handling the inheritance of the log level from the parent logger, and the log level in the C++ core is always known.\n\nLogging levels in Python are not necessarily discrete, we might need to handle any possible integer value (Users could have more granular log levels in their environment). So instead of mapping 20 to info, 30 to warn and so on, we might need to do:\n\n\u003c\u003d 5      -\u003e trace\n\u003c\u003d 10     -\u003e debug\n\u003c\u003d 20     -\u003e info\n\u003c\u003d 30     -\u003e warn\n\u003c\u003d 40     -\u003e err\n\u003c\u003d 50     -\u003e critical\notherwise -\u003e off\n\nHowever, this seems to have been the pre-existing behavior, so maybe this is not the right commit for this and we should just file a PYCBC.","commit_id":"9396319a9c65af7a13494b42bdfe6c4e3043eca6"},{"author":{"_account_id":1005035,"name":"Dimitris Christodoulou","email":"dimitris.christodoulou@couchbase.com","username":"DemetrisChr","avatars":[{"url":"https://www.gravatar.com/avatar/4291f7baa025a5558b77019a9c264ab2.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/4291f7baa025a5558b77019a9c264ab2.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/4291f7baa025a5558b77019a9c264ab2.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/4291f7baa025a5558b77019a9c264ab2.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"690ffbdf4a49b97f2ef8d5507c755ae6b4872944","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"3cac3997_2f7e6fdc","updated":"2026-03-27 13:14:37.000000000","message":"Just a small update is needed in an example","commit_id":"c069e026297ba2fb806b3351d1f5852109628f9b"}],"examples/logging/threshold_and_metrics.py":[{"author":{"_account_id":1005035,"name":"Dimitris Christodoulou","email":"dimitris.christodoulou@couchbase.com","username":"DemetrisChr","avatars":[{"url":"https://www.gravatar.com/avatar/4291f7baa025a5558b77019a9c264ab2.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/4291f7baa025a5558b77019a9c264ab2.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/4291f7baa025a5558b77019a9c264ab2.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/4291f7baa025a5558b77019a9c264ab2.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"690ffbdf4a49b97f2ef8d5507c755ae6b4872944","unresolved":true,"context_lines":[{"line_number":39,"context_line":"    \"kv\": {"},{"line_number":40,"context_line":"      \"upsert\": {"},{"line_number":41,"context_line":"        \"total_count\": 100,"},{"line_number":42,"context_line":"        \"percentiles\": {"},{"line_number":43,"context_line":"          \"50.0\": 150,"},{"line_number":44,"context_line":"          \"90.0\": 350,"},{"line_number":45,"context_line":"          \"99.0\": 800,"}],"source_content_type":"text/x-python","patch_set":4,"id":"d7c245ee_1a32b3a1","line":42,"updated":"2026-03-27 13:14:37.000000000","message":"```suggestion\n        \"percentiles_us\": {\n```","commit_id":"c069e026297ba2fb806b3351d1f5852109628f9b"},{"author":{"_account_id":1005381,"name":"Anirudh Lakhotia","display_name":"Anirudh Lakhotia","email":"anirudh.lakhotia@couchbase.com","username":"anirudhlakhotia","avatars":[{"url":"https://www.gravatar.com/avatar/9b86347dbed7e8c52746d07945b7649b.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/9b86347dbed7e8c52746d07945b7649b.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/9b86347dbed7e8c52746d07945b7649b.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/9b86347dbed7e8c52746d07945b7649b.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"e126e4c1da84710e705fdabdb3885651f01b855e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    \"kv\": {"},{"line_number":40,"context_line":"      \"upsert\": {"},{"line_number":41,"context_line":"        \"total_count\": 100,"},{"line_number":42,"context_line":"        \"percentiles\": {"},{"line_number":43,"context_line":"          \"50.0\": 150,"},{"line_number":44,"context_line":"          \"90.0\": 350,"},{"line_number":45,"context_line":"          \"99.0\": 800,"}],"source_content_type":"text/x-python","patch_set":4,"id":"b8217a0a_55a1f0de","line":42,"in_reply_to":"d7c245ee_1a32b3a1","updated":"2026-03-27 13:55:06.000000000","message":"Fix applied.","commit_id":"c069e026297ba2fb806b3351d1f5852109628f9b"}]}
