This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
The following commit(s) were added to refs/heads/master by this push:
new cff3488 sanlock: include full host name in log
cff3488 is described below
commit cff348800722f7dadf030ffe7494c2df714996e3
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Tue Dec 17 11:26:55 2019 -0600
sanlock: include full host name in log
---
src/main.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index a8a0bf5..5d2a9b6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1641,6 +1641,7 @@ static void helper_dead(int ci GNUC_UNUSED)
static int do_daemon(void)
{
+ struct utsname nodename;
int fd, rv;
run_dir = env_get(SANLOCK_RUN_DIR, DEFAULT_RUN_DIR);
@@ -1700,7 +1701,9 @@ static int do_daemon(void)
setup_uid_gid();
- log_warn("sanlock daemon started %s host %s", VERSION, our_host_name_global);
+ uname(&nodename);
+
+ log_warn("sanlock daemon started %s host %s (%s)", VERSION,
our_host_name_global, nodename.nodename);
setup_priority();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date