git.samba.org
/
herb
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a004c93
)
ctdb-daemon: Increase priority of logs when shutting down
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 4 Jul 2017 05:49:54 +0000
(15:49 +1000)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 4 Jul 2017 11:11:16 +0000
(13:11 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_daemon.c
patch
|
blob
|
history
diff --git
a/ctdb/server/ctdb_daemon.c
b/ctdb/server/ctdb_daemon.c
index f8d13c2a6affd224f444e9b3d7c2055f65590608..b5cee615e910934e9c13212222330796f3c2d142 100644
(file)
--- a/
ctdb/server/ctdb_daemon.c
+++ b/
ctdb/server/ctdb_daemon.c
@@
-1833,7
+1833,7
@@
void ctdb_shutdown_sequence(struct ctdb_context *ctdb, int exit_code)
return;
}
- DEBUG(DEBUG_
NOTICE
,("Shutdown sequence commencing.\n"));
+ DEBUG(DEBUG_
ERR
,("Shutdown sequence commencing.\n"));
ctdb_set_runstate(ctdb, CTDB_RUNSTATE_SHUTDOWN);
ctdb_stop_recoverd(ctdb);
ctdb_stop_keepalive(ctdb);
@@
-1845,7
+1845,7
@@
void ctdb_shutdown_sequence(struct ctdb_context *ctdb, int exit_code)
ctdb->methods->shutdown(ctdb);
}
- DEBUG(DEBUG_
NOTICE
,("Shutdown sequence complete, exiting.\n"));
+ DEBUG(DEBUG_
ERR
,("Shutdown sequence complete, exiting.\n"));
exit(exit_code);
}