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".
The branch, master has been updated
via de5709272c1393b55d1a01468978e393437c3f9f (commit)
from 13f57ff2d73a9adc1618996c14184559c181974c (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.
-/* default: errors go to syslog (/var/log/messages) and fenced.log
+#define DAEMON_NAME "fenced"
+
+/* default: errors go to syslog (/var/log/messages) and <daemon>.log
logging/debug=on: errors continue going to syslog (/var/log/messages)
- and fenced.log, debug messages are added to fenced.log. */
+ and <daemon>.log, debug messages are added to <daemon>.log. */
/* Read cluster.conf settings and convert them into logsys values.
If no cluster.conf setting exists, the default that was used in
@@ -95,7 +97,7 @@ static int read_ccs_logging(int *mode, int *facility, int *priority, char *file)
p = DEFAULT_PRIORITY;
if (name[0]) {
val = logsys_priority_id_get(name);
@@ -131,7 +133,7 @@ static int read_ccs_logging(int *mode, int *facility, int *priority, char *file)
cfgd_debug_logsys = 1;
/* this function is also called when we get a cman config-update event */
@@ -156,11 +158,10 @@ void setup_logging(void)
int mode, facility, priority;
char file[PATH_MAX];
- /* The debug setting is special, it's used by the program
- and not used to configure logsys. */
+ memset(file, 0, PATH_MAX);