]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdbd_conn: lower the debug level 0 for failing connection to ctdbd.
authorMichael Adam <obnox@samba.org>
Fri, 26 Jun 2015 11:14:39 +0000 (13:14 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 26 Jun 2015 12:18:15 +0000 (14:18 +0200)
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>
source3/lib/ctdbd_conn.c

index 7a95b79c9ac87d33260de9a45e0d2d613af8bd89..962ab4347435215fcd464f5cbe71127051b089bf 100644 (file)
@@ -459,7 +459,7 @@ static NTSTATUS ctdbd_init_connection(TALLOC_CTX *mem_ctx,
        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);