this patch tidies up that mess
On Tue, 2009-06-23 at 08:55 -0500, David Teigland wrote:
> On Mon, Jun 22, 2009 at 10:48:18PM -0700, Steven Dake wrote:
> >
>
> While you're there, perhaps knock down the level of those messages so we don't
> see it all in /var/log/messages every time?
>
> Jun 22 14:58:12 bull-01 corosync[2343]: [MAIN ] Corosync Executive Service
> RELEASE 'trunk'
> Jun 22 14:58:12 bull-01 corosync[2343]: [MAIN ] Copyright (C) 2002-2006
> MontaVista Software, Inc and contributors.
> Jun 22 14:58:12 bull-01 corosync[2343]: [MAIN ] Copyright (C) 2006-2008
> Red Hat, Inc.
> Jun 22 14:58:12 bull-01 corosync[2343]: [MAIN ] Corosync Executive
> Service: started and ready to provide service.
>
> Everyone else seems to get by with a single "I started" line.
>
Index: exec/main.c
===================================================================
--- exec/main.c (revision 2283)
+++ exec/main.c (working copy)
@@ -712,9 +712,7 @@
corosync_mlockall ();
- log_printf (LOGSYS_LEVEL_NOTICE, "Corosync Executive Service RELEASE '%s'\n", RELEASE_VERSION);
- log_printf (LOGSYS_LEVEL_NOTICE, "Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.\n");
- log_printf (LOGSYS_LEVEL_NOTICE, "Copyright (C) 2006-2008 Red Hat, Inc.\n");
+ log_printf (LOGSYS_LEVEL_NOTICE, "Corosync Cluster Engine ('%s'): started and ready to provide service.\n", RELEASE_VERSION);
(void)signal (SIGINT, sigintr_handler);
(void)signal (SIGUSR2, sigusr2_handler);
@@ -730,8 +728,6 @@
serialize_unlock,
sched_priority);
- log_printf (LOGSYS_LEVEL_NOTICE, "Corosync Executive Service: started and ready to provide service.\n");
-
corosync_poll_handle = poll_create ();
/*
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais