)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":31245,"name":"Daniel Bengtsson","email":"dbengt@redhat.com","username":"damani42"},"change_message_id":"b1c84233761be1215fc159356cbdbb54d6221161","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"bd02a16e_79cd433f","updated":"2024-01-26 09:37:56.000000000","message":"No answer from the author I abandon the patch. Feel free to reopen it if I\u0027m wrong.","commit_id":"824891a863bb88a78cdb3a0b2f599d2ac223c1cc"}],"oslo_privsep/daemon.py":[{"author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"change_message_id":"5e640068f30e9542cc8222c66e9b541b737d2d4d","unresolved":false,"context_lines":[{"line_number":210,"context_line":"            # (LOG, LogRecord __dict__)"},{"line_number":211,"context_line":"            message \u003d {encodeutils.safe_decode(k): v"},{"line_number":212,"context_line":"                       for k, v in msg[1].items()}"},{"line_number":213,"context_line":"            record \u003d pylogging.makeLogRecord(message)"},{"line_number":214,"context_line":"            if record.levelno and LOG.isEnabledFor(record.levelno):"},{"line_number":215,"context_line":"                LOG.logger.handle(record)"},{"line_number":216,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4c43b2_5512bc0a","line":213,"range":{"start_line":213,"start_character":12,"end_line":213,"end_character":53},"updated":"2020-04-16 11:30:30.000000000","message":"I\u0027m puzzled why the makeLogRecord return `None` here... \nnormally it should return a dict built from `message` so maybe the issue is that something went wrong with `message` or maybe something went wrong with the _logRecordFactory [3] that should initialize our expected dict.\n\nHow to reproduce your issue?\n\nIn the BZ [4] I seen that msg\u0027s value during out_of_band is `(6, 20, u\u0027privsep daemon starting\u0027)`, I\u0027m not sure if the values are the whole `msg` content or if it correspond to `msg[1].items()` at line 212.\n\nPlease, can you take a look to the content of `msg` (the whole content)? It could help us to more understand the full path from the call of `out_of_band(msg)` to the call of `makeLogRecord`\n\n[1] https://docs.python.org/3.7/library/logging.html#logging.makeLogRecord\n\n[2] https://github.com/python/cpython/blob/4c3da783cffb8471303fbae3e09f3d67b31c3d06/Lib/logging/__init__.py#L388,L397\n\n[3] https://github.com/python/cpython/blob/4c3da783cffb8471303fbae3e09f3d67b31c3d06/Lib/logging/__init__.py#L395\n\n[4] https://bugs.launchpad.net/oslo.privsep/+bug/1696772","commit_id":"824891a863bb88a78cdb3a0b2f599d2ac223c1cc"}]}
