[prev in list] [next in list] [prev in thread] [next in thread]
List: systemd-devel
Subject: [systemd-devel] [PATCH] core: remove duplicate MESSAGE= from log message
From: zbyszek () in ! waw ! pl (Zbigniew =?utf-8?Q?J=C4=99drzejewski-Szmek?=)
Date: 2013-04-26 2:18:14
Message-ID: 20130426021814.GK3394 () in ! waw ! pl
[Download RAW message or body]
On Thu, Apr 25, 2013 at 03:14:57PM +0200, Mirco Tischler wrote:
> This was needed with log_struct_unit() but log_notice_unit() adds it
> anyway.
> ---
> src/core/unit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/core/unit.c b/src/core/unit.c
> index c0c3ce9..b624ca6 100644
> --- a/src/core/unit.c
> +++ b/src/core/unit.c
> @@ -1468,7 +1468,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
>
> if (ns != os && ns == UNIT_FAILED) {
> log_notice_unit(u->id,
> - "MESSAGE=Unit %s entered failed state.", u->id);
> + "Unit %s entered failed state.", u->id);
> unit_start_on_failure(u);
Applied.
Zbyszek
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic