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]

master - build: use standard syslog priority name rather than corosync


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ae8893dbff1377dea4111411db17d5438d2e39f9
Commit:        ae8893dbff1377dea4111411db17d5438d2e39f9
Parent:        ad6a8fa90284ebf142790dbd3185d20dd5f1c509
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed Oct 29 05:19:04 2008 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Wed Oct 29 06:21:03 2008 +0100

build: use standard syslog priority name rather than corosync

this allow us to use external logging entities and retain compatibility

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 4eb86ec..e98ddc2 100755
--- a/configure
+++ b/configure
@@ -219,7 +219,7 @@ if ($help || !$err) {
   print "--logdir=\tthe base directory for cluster logging files.  (Default: /var/log/cluster/)\n";
   print "--logrotatedir=\tthe base directory for logrorate.d files.  (Default: /etc/logrotate.d/)\n";
   print "--syslogfacility=\tset the default syslog facility.  (Default: LOG_LOCAL4)\n";
-  print "--sysloglevel=\tset the default syslog level.  (Default: LOG_LEVEL_INFO)\n";
+  print "--sysloglevel=\tset the default syslog level.  (Default: LOG_INFO)\n";
   print "--mibdir=\tthe base directory for snmp mibs.  (Default: {prefix}/share/snmp/mibs)\n";
   print "--snmpbin=\tthe base directory for snmp binaries (Ex: /usr/bin/snmpwalk).  (Default: {prefix}/bin)\n";
   print "--confdir=\tthe cluster config directory.  (Default: /etc/cluster)\n";
@@ -584,7 +584,7 @@ if (!$syslogfacility) {
   $syslogfacility="LOG_LOCAL4";
 }
 if (!$sysloglevel) {
-  $sysloglevel="LOG_LEVEL_INFO";
+  $sysloglevel="LOG_INFO";
 }
 if (!$mibdir) {
   $mibdir="${prefix}/share/snmp/mibs";


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