This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: STABLE3 - cman: set default log file to corosync.log


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e57bd2ee737f3b85b1b8bacf339014afff5b263f
Commit:        e57bd2ee737f3b85b1b8bacf339014afff5b263f
Parent:        8869fb9ddbfc59574e9760be2c583302f2a1fec4
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Thu May 7 09:09:32 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Thu May 7 09:09:32 2009 +0200

cman: set default log file to corosync.log

cman is not a daemon. corosync is.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 cman/daemon/cman-preconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index 2487401..6f0ccf3 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -760,7 +760,7 @@ static void add_cman_overrides(struct objdb_iface_ver0 *objdb)
 
 	if (objdb_get_string(objdb, object_handle, "logfile", &logstr)) {
 		objdb->object_key_create(object_handle, "logfile", strlen("logfile"),
-					    LOGDIR "/cman.log", strlen(LOGDIR "/cman.log")+1);
+					    LOGDIR "/corosync.log", strlen(LOGDIR "/corosync.log")+1);
 	}
 
 	if (objdb_get_string(objdb, object_handle, "timestamp", &logstr)) {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]