If e.g. samba fails to start because it can not open the
connection to ctdbd, we want to see some indication in the
logs about this.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
ret = ctdbd_connect(&conn->fd);
if (ret != 0) {
status = map_nt_error_from_unix(errno);
- DEBUG(10, ("ctdbd_connect failed: %s\n", strerror(errno)));
+ DEBUG(1, ("ctdbd_connect failed: %s\n", strerror(errno)));
goto fail;
}
talloc_set_destructor(conn, ctdbd_connection_destructor);