bind  9.11.23
About: BIND 9.11 implements the Domain Name System (DNS) protocols for the Internet (see the Release Notes). ESV = Extended Supported Version. Source code distribution.
  Fossies Dox: bind-9.11.23.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

log.c File Reference
#include <config.h>
#include <isc/util.h>
#include <dns/log.h>
Include dependency graph for log.c:

Go to the source code of this file.

Functions

void dns_log_init (isc_log_t *lctx)
 
void dns_log_setcontext (isc_log_t *lctx)
 

Variables

LIBDNS_EXTERNAL_DATA isc_logcategory_t dns_categories []
 
LIBDNS_EXTERNAL_DATA isc_logmodule_t dns_modules []
 
LIBDNS_EXTERNAL_DATA isc_log_tdns_lctx = NULL
 

Function Documentation

◆ dns_log_init()

void dns_log_init ( isc_log_t lctx)

Definition at line 90 of file log.c.

References dns_categories, dns_modules, isc_log_registercategories(), isc_log_registermodules(), lctx, and REQUIRE.

Referenced by dns_client_create(), ns_log_init(), setup_libs(), setup_logging(), and setup_system().

Here is the caller graph for this function:

◆ dns_log_setcontext()

void dns_log_setcontext ( isc_log_t lctx)

Definition at line 98 of file log.c.

References dns_lctx, and lctx.

Referenced by cleanup_logging(), dns_client_create(), ns_log_init(), ns_log_shutdown(), setup_libs(), setup_logging(), and setup_system().

Here is the caller graph for this function:

Variable Documentation

◆ dns_categories

LIBDNS_EXTERNAL_DATA isc_logcategory_t dns_categories[]
Initial value:
= {
{ "notify", 0 },
{ "database", 0 },
{ "security", 0 },
{ "_placeholder", 0 },
{ "dnssec", 0 },
{ "resolver", 0 },
{ "xfer-in", 0 },
{ "xfer-out", 0 },
{ "dispatch", 0 },
{ "lame-servers", 0 },
{ "delegation-only", 0 },
{ "edns-disabled", 0 },
{ "rpz", 0 },
{ "rate-limit", 0 },
{ "cname", 0 },
{ "spill", 0 },
{ "dnstap", 0 },
{ NULL, 0 }
}

Definition at line 24 of file log.c.

Referenced by dns_log_init().

◆ dns_lctx

LIBDNS_EXTERNAL_DATA isc_log_t* dns_lctx = NULL

Definition at line 87 of file log.c.

Referenced by acache_cleaning_timer_action(), acache_incremental_cleaning_action(), acache_overmem_cleaning_action(), add_bad(), add_cidr(), adjust_quantum(), badname(), bdb_allnodes(), bdb_create(), bdb_lookup(), begin_cleaning(), build_querylist(), cache_name(), catz_process_apl(), cleaning_timer_action(), closeandrename(), closeversion(), debit_log(), debit_rrl_entry(), del_name(), delete_node(), destroy(), detachnode(), dispatch_createudp(), dispatch_log(), dns_acache_setcleaninginterval(), dns_adb_createfind2(), dns_cache_detach(), dns_cache_setcleaninginterval(), dns_catz_add_zone(), dns_catz_dbupdate_callback(), dns_catz_generate_zonecfg(), dns_catz_postreconfig(), dns_catz_update_from_db(), dns_catz_zones_merge(), dns_db_create(), dns_dlz_ssumatch(), dns_dlz_writeablezone(), dns_dlzcreate(), dns_dlzdestroy(), dns_dlzregister(), dns_dlzunregister(), dns_dnssec_findmatchingkeys2(), dns_dnssec_findzonekeys3(), dns_dnssec_keylistfromrdataset(), dns_dnssec_verify3(), dns_dt_create(), dns_dt_reopen(), dns_dt_send(), dns_dyndb_cleanup(), dns_log_setcontext(), dns_master_dumpnode(), dns_message_parse(), dns_ntatable_covered(), dns_root_checkhints(), dns_rootns_create(), dns_rpz_find_ip(), dns_rpz_find_name(), dns_rpz_ready(), dns_rrl(), dns_ssutable_checkrules2(), dns_tsigkey_createfromkey(), dns_view_loadnta(), dns_view_setnewzones(), DP(), dst__privstruct_writefile(), dumptostreaminc(), end_cleaning(), expand_entries(), expand_rrl_hash(), expirenode(), fcount_logspill(), fctx_getaddresses(), fctx_log(), fctx_sendevents(), fctx_try(), findname(), findnodeintree(), fix_qname_skip_recurse(), fix_triggers(), flush_deletions(), flushandsync(), free_rbtdb(), freezezones(), gss_log(), hash_divisor(), incremental_cleaning_action(), is_answeraddress_allowed(), is_answertarget_allowed(), isclog_error_callback(), isclog_warn_callback(), load_library(), loadnode(), log_edns(), log_end(), log_fetch(), log_formerr(), log_lame(), log_ns_ttl(), log_nsid(), log_quota(), logfmtpacket(), make_log_buf(), maybe_free_rbtdb(), mgr_log(), name2ipkey(), ns_lwdclient_log(), opentmp(), overmem_cleaning_action(), possibly_mark(), previous_closest_nsec(), prime_done(), report(), req_log(), request_log(), resquery_response(), sdlz_log(), sdlzh_build_sqldbinstance(), set_age(), setup_dnsseckeys(), spillattimer_countdown(), ssu_e_log(), tcldb_driver_create(), tcldb_lookup(), tkey_log(), trim_ns_ttl(), tsig_log(), udp_recv(), update_log(), validator_log(), validator_logv(), view_find(), water(), xfrin_log(), xfrin_log1(), and xfrin_logv().

◆ dns_modules

LIBDNS_EXTERNAL_DATA isc_logmodule_t dns_modules[]

Definition at line 49 of file log.c.

Referenced by dns_log_init().