Searched defs:log (Results 1 - 25 of 30) sorted by relevance

12

/bind-9.11.3/bin/tools/
H A Dnamed-journalprint.c14 #include <isc/log.h>
20 #include <dns/log.h>
33 isc_log_t *log = NULL; local
35 RUNTIME_CHECK(isc_log_create(mctx, &log, &logconfig) == ISC_R_SUCCESS);
36 isc_log_setcontext(log);
37 dns_log_init(log);
38 dns_log_setcontext(log);
51 *logp = log;
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Dlog.c2 static char *rcsid = "$Id: log.c,v 1.1 2003/06/04 00:25:53 marka Exp $";
56 #include <idn/log.h>
70 static void log(int level, const char *fmt, va_list args);
78 log(idn_log_level_fatal, fmt, args);
88 log(idn_log_level_error, fmt, args);
97 log(idn_log_level_warning, fmt, args);
106 log(idn_log_level_info, fmt, args);
115 log(idn_log_level_trace, fmt, args);
124 log(idn_log_level_dump, fmt, args);
168 log(in function
[all...]
/bind-9.11.3/contrib/dlz/modules/common/
H A Ddlz_dbi.c96 log_t log)
214 /* Write error message to log */
215 if (log != NULL)
216 log(ISC_LOG_ERROR,
224 /* Write error message to log */
225 if (log != NULL)
226 log(ISC_LOG_ERROR,
234 /* Write error message to log */
235 if (log != NULL)
236 log(ISC_LOG_ERRO
94 build_querylist(const char *query_str, char **zone, char **record, char **client, query_list_t **querylist, unsigned int flags, log_t log) argument
308 build_dbinstance(const char *allnodes_str, const char *allowxfr_str, const char *authority_str, const char *findzone_str, const char *lookup_str, const char *countzone_str, dbinstance_t **dbi, log_t log) argument
[all...]
/bind-9.11.3/bin/dnssec/
H A Ddnssec-verify.c44 #include <dns/log.h>
172 isc_log_t *log = NULL; local
294 setup_logging(mctx, &log);
338 cleanup_logging(&log);
H A Ddnssec-dsfromkey.c30 #include <dns/log.h>
360 isc_log_t *log = NULL; local
507 setup_logging(mctx, &log);
565 cleanup_logging(&log);
H A Ddnssec-importkey.c30 #include <dns/log.h>
298 isc_log_t *log = NULL; local
418 setup_logging(mctx, &log);
458 cleanup_logging(&log);
H A Ddnssec-keyfromlabel.c30 #include <dns/log.h>
152 isc_log_t *log = NULL; local
362 setup_logging(mctx, &log);
739 cleanup_logging(&log);
H A Ddnssec-settime.c30 #include <dns/log.h>
165 isc_log_t *log = NULL; local
178 setup_logging(mctx, &log);
677 cleanup_logging(&log);
H A Ddnssec-keygen.c45 #include <dns/log.h>
232 isc_log_t *log = NULL; local
517 setup_logging(mctx, &log);
1110 cleanup_logging(&log);
H A Ddnssectool.c42 #include <dns/log.h>
153 isc_log_t *log = NULL; local
174 RUNTIME_CHECK(isc_log_create(mctx, &log, &logconfig) == ISC_R_SUCCESS);
175 isc_log_setcontext(log);
176 dns_log_init(log);
177 dns_log_setcontext(log);
201 *logp = log;
206 isc_log_t *log; local
210 log = *logp;
211 if (log
[all...]
/bind-9.11.3/bin/tests/system/tkey/
H A Dkeydelete.c20 #include <isc/log.h>
149 isc_log_t *log; local
173 log = NULL;
175 RUNCHECK(isc_log_create(mctx, &log, &logconfig));
258 isc_log_destroy(&log);
H A Dkeycreate.c20 #include <isc/log.h>
215 isc_log_t *log; local
243 log = NULL;
245 RUNCHECK(isc_log_create(mctx, &log, &logconfig));
324 isc_log_destroy(&log);
/bind-9.11.3/contrib/dlz/modules/perl/
H A Ddlz_perl_driver.c75 #define carp(...) cd->log(ISC_LOG_INFO, __VA_ARGS__);
96 log_t *log; member in struct:config_data
132 if (strcmp(helper_name, "log") == 0)
133 state->log = ptr;
179 cd->log(ISC_LOG_ERROR, "DLZ Perl: allnodes for zone %s died in eval: %s", zone, SvPV_nolen(ERRSV));
197 cd->log(ISC_LOG_ERROR,
216 cd->log(ISC_LOG_ERROR,
232 cd->log(ISC_LOG_ERROR,
282 cd->log(ISC_LOG_ERROR,
292 cd->log(ISC_LOG_ERRO
[all...]
/bind-9.11.3/contrib/dlz/modules/bdbhpt/
H A Ddlz_bdbhpt_dynamic.c99 log_t *log; member in struct:bdbhpt_instance
141 bdbhpt_parse_data(log_t *log, char *in, bdbhpt_parsed_data_t *pd) { argument
228 log(ISC_LOG_ERROR,
403 if (bdbhpt_parse_data(db->log,
589 if (bdbhpt_parse_data(db->log, tmp, &pd) != ISC_R_SUCCESS)
614 bdbhpt_opendb(log_t *log, DB_ENV *db_env, DBTYPE db_type, DB **db, argument
621 log(ISC_LOG_ERROR,
630 log(ISC_LOG_ERROR,
640 log(ISC_LOG_ERROR,
681 db->log(ISC_LOG_ERRO
[all...]
/bind-9.11.3/contrib/dlz/modules/filesystem/
H A Ddlz_filesystem_dynamic.c73 log_t *log; member in struct:config_data
265 cd->log(ISC_LOG_ERROR,
436 cd->log(ISC_LOG_DEBUG(1),
494 cd->log(ISC_LOG_ERROR,
507 cd->log(ISC_LOG_ERROR,
530 cd->log(ISC_LOG_ERROR,
634 cd->log(ISC_LOG_ERROR,
656 cd->log(ISC_LOG_ERROR,
718 cd->log(ISC_LOG_DEBUG(1),
778 cd->log(ISC_LOG_DEBU
[all...]
/bind-9.11.3/contrib/dlz/modules/ldap/
H A Ddlz_ldap_dynamic.c98 log_t *log; member in struct:__anon49
134 db->log(ISC_LOG_ERROR,
142 db->log(ISC_LOG_ERROR, "parsing %s query failed", msg);
148 db->log(ISC_LOG_ERROR,
156 db->log(ISC_LOG_ERROR,
163 db->log(ISC_LOG_ERROR,
170 db->log(ISC_LOG_ERROR,
177 db->log(ISC_LOG_ERROR,
304 ldap->log(ISC_LOG_INFO,
331 db->log(ISC_LOG_INF
[all...]
/bind-9.11.3/contrib/dlz/modules/mysql/
H A Ddlz_mysql_dynamic.c94 log_t *log; member in struct:__anon50
183 mysql->log(ISC_LOG_INFO,
276 db->log(ISC_LOG_DEBUG(2),
291 db->log(ISC_LOG_DEBUG(2),
299 db->log(ISC_LOG_ERROR,
370 db->log(ISC_LOG_ERROR,
382 db->log(ISC_LOG_DEBUG(1), "\nQuery String: %s\n", querystring);
477 db->log(ISC_LOG_ERROR,
501 db->log(ISC_LOG_ERROR,
516 db->log(ISC_LOG_ERRO
[all...]
/bind-9.11.3/contrib/dlz/modules/wildcard/
H A Ddlz_wildcard_dynamic.c95 log_t *log; member in struct:config_data
134 /* Write info message to log */
135 cd->log(ISC_LOG_DEBUG(1),
151 cd->log(ISC_LOG_DEBUG(2),
179 /* Write info message to log */
180 cd->log(ISC_LOG_DEBUG(1),
211 /* Write info message to log */
212 cd->log(ISC_LOG_DEBUG(1),
263 /* Write info message to log */
264 cd->log(ISC_LOG_DEBU
[all...]
/bind-9.11.3/contrib/dlz/example/
H A Ddlz_example.c66 log_t *log; member in struct:dlz_example_data
112 if (state->log != NULL)
113 state->log(ISC_LOG_ERROR,
208 if (strcmp(helper_name, "log") == 0)
209 state->log = (log_t *)ptr;
247 if (state->log != NULL)
248 state->log(ISC_LOG_ERROR,
285 if (state->log != NULL)
286 state->log(ISC_LOG_INFO, "dlz_example: started for zone %s",
305 if (state->log !
[all...]
/bind-9.11.3/contrib/dlz/modules/sqlite3/
H A Ddlz_sqlite3_dynamic.c88 log_t *log; member in struct:__anon51
189 sqlite3->log(ISC_LOG_INFO,
264 db->log(ISC_LOG_DEBUG(2), "Invalid result set pointer.");
307 db->log(ISC_LOG_DEBUG(2),
322 db->log(ISC_LOG_DEBUG(2),
330 db->log(ISC_LOG_ERROR,
398 db->log(ISC_LOG_ERROR,
411 db->log(ISC_LOG_DEBUG(1), "\nQuery String: %s\n", querystring);
415 db->log(ISC_LOG_ERROR, "Failed to allocate result set");
424 db->log(ISC_LOG_DEBU
[all...]
/bind-9.11.3/bin/check/
H A Dcheck-tool.c23 #include <isc/log.h>
38 #include <dns/log.h>
49 #include <isccfg/log.h>
111 * This needs to match the list in bin/named/log.c.
558 isc_log_t *log = NULL; local
560 RUNTIME_CHECK(isc_log_create(mctx, &log, &logconfig) == ISC_R_SUCCESS);
561 isc_log_registercategories(log, categories);
562 isc_log_setcontext(log);
563 dns_log_init(log);
564 dns_log_setcontext(log);
[all...]
/bind-9.11.3/bin/rndc/
H A Drndc.c23 #include <isc/log.h>
512 parse_config(isc_mem_t *mctx, isc_log_t *log, const char *keyname, argument
554 DO("create parser", cfg_parser_create(mctx, log, pctxp));
774 isc_log_t *log = NULL; local
893 DO("create logging context", isc_log_create(rndc_mctx, &log, &logconfig));
894 isc_log_setcontext(log);
895 DO("setting log tag", isc_log_settag(logconfig, progname));
900 DO("creating log channel",
904 DO("enabling log channel", isc_log_usechannel(logconfig, "stderr",
907 parse_config(rndc_mctx, log, keynam
[all...]
/bind-9.11.3/bin/tests/system/dlzexternal/
H A Ddriver.c20 #include <isc/log.h>
69 log_t *log; member in struct:dlz_example_data
115 if (state->log != NULL)
116 state->log(ISC_LOG_ERROR,
211 if (strcmp(helper_name, "log") == 0)
212 state->log = (log_t *)ptr;
250 if (state->log != NULL)
251 state->log(ISC_LOG_ERROR,
288 if (state->log != NULL)
289 state->log(ISC_LOG_INF
[all...]
/bind-9.11.3/lib/dns/
H A Dupdate.c13 #include <isc/log.h>
35 #include <dns/log.h>
96 * Fail unconditionally and log as a client error.
111 update_log(log, zone, LOGLEVEL_PROTOCOL, \
131 update_log(log, zone, LOGLEVEL_PROTOCOL, \
154 update_log(log, zone, LOGLEVEL_PROTOCOL, \
163 * Fail unconditionally and log as a server error.
170 update_log(log, zone, LOGLEVEL_PROTOCOL, \
216 * Update a single RR in version 'ver' of 'db' and log the
691 * RRs for which the predicate returns true, and log th
893 next_active(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *oldname, dns_name_t *newname, isc_boolean_t forward) argument
975 add_nsec(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_ttl_t nsecttl, dns_diff_t *diff) argument
1066 add_sigs(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_rdatatype_t type, dns_diff_t *diff, dst_key_t **keys, unsigned int nkeys, isc_stdtime_t inception, isc_stdtime_t expire, isc_boolean_t check_ksk, isc_boolean_t keyset_kskonly) argument
1262 add_exposed_sigs(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, isc_boolean_t cut, dns_diff_t *diff, dst_key_t **keys, unsigned int nkeys, isc_stdtime_t inception, isc_stdtime_t expire, isc_boolean_t check_ksk, isc_boolean_t keyset_kskonly, unsigned int *sigs) argument
1343 dns_update_signatures(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *oldver, dns_dbversion_t *newver, dns_diff_t *diff, isc_uint32_t sigvalidityinterval) argument
1369 dns_update_signaturesinc(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *oldver, dns_dbversion_t *newver, dns_diff_t *diff, isc_uint32_t sigvalidityinterval, dns_update_state_t **statep) argument
[all...]
/bind-9.11.3/contrib/dlz/modules/mysqldyn/
H A Ddlz_mysqldyn_mod.c247 log_t *log; member in struct:mysql_data
276 if (state->log != NULL)
277 state->log(ISC_LOG_INFO, "%s: init connection %d ",
285 if (state->log != NULL)
286 state->log(ISC_LOG_ERROR,
311 if (state->debug && state->log != NULL)
312 state->log(ISC_LOG_ERROR,
564 if (result != ISC_R_SUCCESS && state->log != NULL)
565 state->log(ISC_LOG_ERROR, "%s: invalid txn %x", modname, txn);
580 if (state->debug && state->log !
[all...]

Completed in 56 milliseconds

12