From 08d47a1a52e407580879490156ab694c30e40710 Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Fri, 17 Dec 2021 07:49:43 -0600 Subject: [PATCH] EX-4375 lipe: set lpurge log prefix In lpurge, set lx_log_prefix to the ostname. Test-Parameters: trivial testlist=hot-pools Signed-off-by: John L. Hammond Change-Id: I602d0b2d10717b5c7993cea815b12cf42ec31ade Reviewed-on: https://review.whamcloud.com/45881 Reviewed-on: https://review.whamcloud.com/46130 Tested-by: jenkins Tested-by: Maloo --- lipe/src/lpurge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lipe/src/lpurge.c b/lipe/src/lpurge.c index 169ac4b..7904c5a 100644 --- a/lipe/src/lpurge.c +++ b/lipe/src/lpurge.c @@ -1982,6 +1982,7 @@ int main(int argc, char **argv) /* Messages will be prefixed by program_invocation_short_name * followed by the OST name ("lpurge lustre-OST0000"). */ llapi_set_command_name(ostname); + lx_log_prefix = ostname; LX_INFO("version %s-%s, revision %s\n", PACKAGE_VERSION, LIPE_RELEASE, LIPE_REVISION); -- 1.8.3.1