diff options
author | Amitay Isaacs <amitay@gmail.com> | 2012-02-02 09:27:28 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2012-02-21 23:08:35 +1100 |
commit | 1a70332f954bc1b72d5572f7c39fdc7f80ddcd72 (patch) | |
tree | 13b903059655b7b6c186e118c34e700ea8f8d22f | |
parent | 4bba5fcecd1f7071aa0529527a11f0082f8d625f (diff) | |
download | samba-1a70332f954bc1b72d5572f7c39fdc7f80ddcd72.tar.gz samba-1a70332f954bc1b72d5572f7c39fdc7f80ddcd72.tar.bz2 samba-1a70332f954bc1b72d5572f7c39fdc7f80ddcd72.zip |
dlz_bind9: Fix the log message level
-rw-r--r-- | source4/dns_server/dlz_bind9.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c index 7bb7a3467c..34320e01f6 100644 --- a/source4/dns_server/dlz_bind9.c +++ b/source4/dns_server/dlz_bind9.c @@ -1453,7 +1453,7 @@ _PUBLIC_ isc_result_t dlz_addrdataset(const char *name, const char *rdatastr, vo b9_reset_session_info(state); talloc_free(rec); if (result == ISC_R_SUCCESS) { - state->log(ISC_LOG_ERROR, "samba_dlz: added %s %s", name, rdatastr); + state->log(ISC_LOG_INFO, "samba_dlz: added %s %s", name, rdatastr); } return result; } @@ -1543,7 +1543,7 @@ _PUBLIC_ isc_result_t dlz_subrdataset(const char *name, const char *rdatastr, vo enum ndr_err_code ndr_err; if (state->transaction_token != (void*)version) { - state->log(ISC_LOG_INFO, "samba_dlz: bad transaction version"); + state->log(ISC_LOG_ERROR, "samba_dlz: bad transaction version"); return ISC_R_FAILURE; } @@ -1553,7 +1553,7 @@ _PUBLIC_ isc_result_t dlz_subrdataset(const char *name, const char *rdatastr, vo } if (!b9_parse(state, rdatastr, rec)) { - state->log(ISC_LOG_INFO, "samba_dlz: failed to parse rdataset '%s'", rdatastr); + state->log(ISC_LOG_ERROR, "samba_dlz: failed to parse rdataset '%s'", rdatastr); talloc_free(rec); return ISC_R_FAILURE; } @@ -1652,12 +1652,12 @@ _PUBLIC_ isc_result_t dlz_delrdataset(const char *name, const char *type, void * bool found = false; if (state->transaction_token != (void*)version) { - state->log(ISC_LOG_INFO, "samba_dlz: bad transaction version"); + state->log(ISC_LOG_ERROR, "samba_dlz: bad transaction version"); return ISC_R_FAILURE; } if (!b9_dns_type(type, &dns_type)) { - state->log(ISC_LOG_INFO, "samba_dlz: bad dns type %s in delete", type); + state->log(ISC_LOG_ERROR, "samba_dlz: bad dns type %s in delete", type); return ISC_R_FAILURE; } |