summaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-08-03 22:08:42 -0300
committerGuido Günther <agx@sigxcpu.org>2017-08-22 08:50:05 +0200
commitf8714dc2838ac1f5c742be5b65ab92f132ad08aa (patch)
treedd3634f6d645c7be0f0beb253cc7e2168fd40871 /gbp
parentb23e958ceef2fa222aa8fee27e61ae3de41c867e (diff)
log; don't color the log message, only the marker
to improve readability
Diffstat (limited to 'gbp')
-rw-r--r--gbp/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/log.py b/gbp/log.py
index 55c9b095..f71ba125 100644
--- a/gbp/log.py
+++ b/gbp/log.py
@@ -55,7 +55,7 @@ class GbpStreamHandler(logging.StreamHandler):
super(GbpStreamHandler, self).__init__(stream)
self._color = gbp.tristate.Tristate(color)
self._color_scheme = DEFAULT_COLOR_SCHEME.copy()
- msg_fmt = "%(color)s%(name)s:%(levelname)s: %(message)s%(coloroff)s"
+ msg_fmt = "%(color)s%(name)s:%(levelname)s:%(coloroff)s %(message)s"
self.setFormatter(logging.Formatter(fmt=msg_fmt))
def set_color(self, color):