[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.05-53-g04a1dd8



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=04a1dd8398d334015a26de5cabd76bece0e0a764

The branch, master has been updated
       via  04a1dd8398d334015a26de5cabd76bece0e0a764 (commit)
      from  22f1d68a1739dfef05846018ac0e8a51b72b78e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 04a1dd8398d334015a26de5cabd76bece0e0a764
Author: David Teigland <teigland redhat com>
Date:   Mon Jul 7 11:19:25 2008 -0500

    fenced/fence_node: use SYSLOGLEVEL
    
    cluster config setting instead of logsys definitions.

-----------------------------------------------------------------------

Summary of changes:
 fence/fence_node/fence_node.c |    2 +-
 fence/fenced/logging.c        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fence/fence_node/fence_node.c b/fence/fence_node/fence_node.c
index 508aa97..d4f3ef6 100644
--- a/fence/fence_node/fence_node.c
+++ b/fence/fence_node/fence_node.c
@@ -87,7 +87,7 @@ int main(int argc, char *argv[])
 
 	logsys_init("fence_node",
 		    LOG_MODE_OUTPUT_STDERR | LOG_MODE_OUTPUT_SYSLOG_THREADED,
-		    SYSLOGFACILITY, LOG_LEVEL_NOTICE, NULL);
+		    SYSLOGFACILITY, SYSLOGLEVEL, NULL);
 
 	error = fence_node(victim);
 
diff --git a/fence/fenced/logging.c b/fence/fenced/logging.c
index aee3485..485810d 100644
--- a/fence/fenced/logging.c
+++ b/fence/fenced/logging.c
@@ -2,7 +2,7 @@
 
 #define DEFAULT_MODE		LOG_MODE_OUTPUT_SYSLOG_THREADED
 #define DEFAULT_FACILITY	SYSLOGFACILITY /* cluster config setting */
-#define DEFAULT_PRIORITY	LOG_LEVEL_INFO
+#define DEFAULT_PRIORITY	SYSLOGLEVEL /* cluster config setting */
 #define DEFAULT_FILE		LOGDIR "/fenced.log"
 
 #define LEVEL_PATH "/cluster/logging/logger_subsys[ subsys=\"FENCED\"]/@syslog_level"


hooks/post-receive
--
Cluster Project


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]