1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

Make clvmd announce it's startup and cluster connection in syslog.

This commit is contained in:
Patrick Caulfield 2005-01-24 15:31:13 +00:00
parent 2efec8b23e
commit c9f9a8b2b3
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.01.03 - Version 2.01.03 -
=================================== ===================================
clvmd announces startup and cluster connection in syslog.
Version 2.01.02 - 21st January 2005 Version 2.01.02 - 21st January 2005
=================================== ===================================

View File

@ -34,6 +34,7 @@
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <getopt.h> #include <getopt.h>
#include <syslog.h>
#include <errno.h> #include <errno.h>
#include "clvmd-comms.h" #include "clvmd-comms.h"
@ -240,6 +241,7 @@ int main(int argc, char *argv[])
max_csid_len = CMAN_MAX_CSID_LEN; max_csid_len = CMAN_MAX_CSID_LEN;
max_cluster_message = CMAN_MAX_CLUSTER_MESSAGE; max_cluster_message = CMAN_MAX_CLUSTER_MESSAGE;
max_cluster_member_name_len = CMAN_MAX_CLUSTER_MEMBER_NAME_LEN; max_cluster_member_name_len = CMAN_MAX_CLUSTER_MEMBER_NAME_LEN;
syslog(LOG_NOTICE, "Cluster LVM daemon started - connected to CMAN");
} }
#endif #endif
#ifdef USE_GULM #ifdef USE_GULM
@ -248,6 +250,7 @@ int main(int argc, char *argv[])
max_csid_len = GULM_MAX_CSID_LEN; max_csid_len = GULM_MAX_CSID_LEN;
max_cluster_message = GULM_MAX_CLUSTER_MESSAGE; max_cluster_message = GULM_MAX_CLUSTER_MESSAGE;
max_cluster_member_name_len = GULM_MAX_CLUSTER_MEMBER_NAME_LEN; max_cluster_member_name_len = GULM_MAX_CLUSTER_MEMBER_NAME_LEN;
syslog(LOG_NOTICE, "Cluster LVM daemon started - connected to GULM");
} }
#endif #endif