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:
parent
2efec8b23e
commit
c9f9a8b2b3
@ -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
|
||||||
===================================
|
===================================
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user