From 6ca139026956916a4a956dd36d10d7f5a72272b8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 26 Aug 2007 22:12:02 +0000 Subject: r24684: Be a bit less verbose (This used to be commit 7a7af62dc4485d832436ed39dfba41b417ec2b10) --- source4/lib/registry/ldb.c | 4 ++-- source4/lib/registry/regf.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/lib/registry') diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c index 8ee4d9f932..8a34fa7a54 100644 --- a/source4/lib/registry/ldb.c +++ b/source4/lib/registry/ldb.c @@ -295,11 +295,11 @@ static WERROR ldb_open_key(TALLOC_CTX *mem_ctx, const struct hive_key *h, ret = ldb_search(c, ldap_path, LDB_SCOPE_BASE, "(key=*)", NULL, &res); if (ret != LDB_SUCCESS) { - DEBUG(0, ("Error opening key '%s': %s\n", + DEBUG(3, ("Error opening key '%s': %s\n", ldb_dn_get_linearized(ldap_path), ldb_errstring(c))); return WERR_FOOBAR; } else if (res->count == 0) { - DEBUG(0, ("Key '%s' not found\n", ldb_dn_get_linearized(ldap_path))); + DEBUG(3, ("Key '%s' not found\n", ldb_dn_get_linearized(ldap_path))); talloc_free(res); return WERR_NOT_FOUND; } diff --git a/source4/lib/registry/regf.c b/source4/lib/registry/regf.c index 7fa71033d9..d74ffd2b4b 100644 --- a/source4/lib/registry/regf.c +++ b/source4/lib/registry/regf.c @@ -1303,7 +1303,7 @@ static WERROR regf_sl_del_entry(struct regf_data *regf, uint32_t list_offset, } } if (!found_offset) { - DEBUG(0, ("Subkey not found\n")); + DEBUG(2, ("Subkey not found\n")); return WERR_NOT_FOUND; } li.key_count--; @@ -1345,7 +1345,7 @@ static WERROR regf_sl_del_entry(struct regf_data *regf, uint32_t list_offset, } } if (!found_offset) { - DEBUG(0, ("Subkey not found\n")); + DEBUG(2, ("Subkey not found\n")); return WERR_NOT_FOUND; } lf.key_count--; @@ -1487,7 +1487,7 @@ static WERROR regf_del_key(const struct hive_key *parent, const char *name) /* Find the key */ if (!W_ERROR_IS_OK(regf_get_subkey_by_name(parent_nk, parent, name, (struct hive_key **)&key))) { - DEBUG(0, ("Key '%s' not found\n", name)); + DEBUG(2, ("Key '%s' not found\n", name)); return WERR_NOT_FOUND; } -- cgit