Reduce loglevel for two eventscript related debug messages
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 11 Feb 2010 01:00:43 +0000 (12:00 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 16 Feb 2010 00:02:11 +0000 (11:02 +1100)
server/eventscript.c

index 36d87170d2d211c4377755589ab0e2866f6759f5..e12491c3e8f16e2a6ae12b4a42160fad4f6dd2bf 100644 (file)
@@ -145,7 +145,7 @@ static bool check_executable(const char *dir, const char *name)
        }
 
        if (!(st.st_mode & S_IXUSR)) {
-               DEBUG(DEBUG_INFO,("Event script %s is not executable. Ignoring this event script\n", full));
+               DEBUG(DEBUG_DEBUG,("Event script %s is not executable. Ignoring this event script\n", full));
                errno = ENOEXEC;
                talloc_free(full);
                return false;
@@ -365,7 +365,7 @@ static int child_run_script(struct ctdb_context *ctdb,
        CTDB_NO_MEMORY(ctdb, cmdstr);
        child_state.script_running = cmdstr;
 
-       DEBUG(DEBUG_INFO,("Executing event script %s\n",cmdstr));
+       DEBUG(DEBUG_DEBUG,("Executing event script %s\n",cmdstr));
 
        if (current->status) {
                ret = current->status;