From 4eefc980bb676cf89a946d0059b48af50f47694e Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 10 Aug 2023 16:14:33 +0200 Subject: [PATCH] [IMP] runbot_merge: logger messages --- runbot_merge/github.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runbot_merge/github.py b/runbot_merge/github.py index 5b11033b..1461dc82 100644 --- a/runbot_merge/github.py +++ b/runbot_merge/github.py @@ -46,7 +46,7 @@ def _init_gh_logger(): if odoo.netsvc._logger_init: _init_gh_logger() -GH_LOG_PATTERN = """=> {method} /{path}{qs}{body} +GH_LOG_PATTERN = """=> {method} {path}{qs}{body} <= {r.status_code} {r.reason} {headers} @@ -222,7 +222,7 @@ class GH(object): status0 = r.status_code _logger.debug( - 'ref_set(%s, %s, %s -> %s (%s)', + 'set_ref(%s, %s, %s -> %s (%s)', self._repo, branch, sha, status0, 'OK' if status0 == 200 else r.text or r.reason )