From: John L. Hammond Date: Fri, 17 Dec 2021 13:49:43 +0000 (-0600) Subject: EX-4375 lipe: set lpurge log prefix X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=08d47a1a52e407580879490156ab694c30e40710;p=fs%2Flustre-release.git 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 --- 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);