summaryrefslogtreecommitdiffstats
path: root/ctdb/server/eventscript.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-02-04 17:44:24 +1100
committerAndrew Tridgell <tridge@samba.org>2008-02-04 17:44:24 +1100
commit9d6ac0cf559535e8ac7082125692afd287b353e5 (patch)
tree0439bd668002b3d3542619f29294a9a9b5d047dc /ctdb/server/eventscript.c
parent1c35c8243e5300eb05415d729a79fbc77ed1ccb1 (diff)
downloadsamba-9d6ac0cf559535e8ac7082125692afd287b353e5.tar.gz
samba-9d6ac0cf559535e8ac7082125692afd287b353e5.tar.xz
samba-9d6ac0cf559535e8ac7082125692afd287b353e5.zip
added debug constants to allow for better mapping to syslog levels
(This used to be ctdb commit 7ba8f1dde318eab03f4257e5a89fd23e7281e502)
Diffstat (limited to 'ctdb/server/eventscript.c')
-rw-r--r--ctdb/server/eventscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c
index d82d9d7f7c..17090975b1 100644
--- a/ctdb/server/eventscript.c
+++ b/ctdb/server/eventscript.c
@@ -156,7 +156,7 @@ static int ctdb_event_script_v(struct ctdb_context *ctdb, const char *fmt, va_li
script, options);
CTDB_NO_MEMORY(ctdb, cmdstr);
- DEBUG(1,("Executing event script %s\n",cmdstr));
+ DEBUG(DEBUG_INFO,("Executing event script %s\n",cmdstr));
child_state.start = timeval_current();
child_state.script_running = cmdstr;