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 315a0b9 sanlock: remove LOG_CONS from direct command
315a0b9 is described below
Author: Nir Soffer <nsoffer(a)redhat.com>
AuthorDate: Tue May 19 09:24:43 2020 -0500
sanlock: remove LOG_CONS from direct command
src/main.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/main.c b/src/main.c
index 8c6eef8..998ee58 100644
@@ -3672,8 +3672,12 @@ static int do_direct(void)
uint32_t cmd_flags = 0;
- /* we want a record of any out-of-band changes to disk */
- openlog("sanlock-direct", LOG_CONS | LOG_PID, LOG_DAEMON);
+ * We want a record of any out-of-band changes to disk in the system
+ * log. If /dev/log is missing, drop the message so it would not be
+ * logged to stderr.
+ openlog("sanlock-direct", LOG_PID, LOG_DAEMON);
setup_task_aio(&main_task, com.aio_arg, DIRECT_AIO_CB_SIZE);
sprintf(main_task.name, "%s", "main_direct");
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date