Commit graph

3491 commits

Author SHA1 Message Date
James Brister
7716a94ffb Drop prototypes of dns_c_category2string and dns_c_string2category.
Added dns_c_checkcategory prototype (checks string against predefined
category names).
2000-03-02 03:58:50 +00:00
James Brister
c47b53250b Use strings instead of dns_c_category_t.
Added token_to_keyword().
2000-03-02 03:57:32 +00:00
James Brister
79a857a5df Use strings instead of dns_c_category_t.
Fixed error in one case in logginglist_empty().
2000-03-02 03:56:36 +00:00
James Brister
43f6bac400 Use strings instead of dns_c_category_t. 2000-03-02 03:54:09 +00:00
James Brister
1a14c6952a Removed dns_c_category_t and use simple strings.
Stash table of predefined category names for parser to check against.
2000-03-02 03:53:29 +00:00
James Brister
9d612f10ec Change for new log api. 2000-03-02 03:52:28 +00:00
James Brister
b7fce30291 Fix syntax error. 2000-03-02 03:52:00 +00:00
James Brister
b0000a5e0f Temporary change to let things compile. 2000-03-02 03:51:36 +00:00
David Lawrence
f028532a15 new test for ISC_LOG_DEBUGONLY 2000-03-02 01:52:47 +00:00
Andreas Gustafsson
b044e6daba updated comment to reflect changed interface 2000-03-02 01:14:02 +00:00
Brian Wellington
2fabf91e5b Added a rule iterator and rule accessor functions 2000-03-01 23:28:31 +00:00
Brian Wellington
408ebaeec9 Added dns_ssurule_t 2000-03-01 23:27:15 +00:00
Andreas Gustafsson
a6535a2681 consistently use single quotes around quoted text in log messages 2000-03-01 22:41:59 +00:00
Brian Wellington
aa6003d0eb Modify label counts/extractions to use dns_name_depth/dns_name_splitatdepth 2000-03-01 22:34:39 +00:00
David Lawrence
a8d34ca88c remove ISC_LOG_DEBUGONLY from comment about default_debug 2000-03-01 21:30:49 +00:00
David Lawrence
142b9c806e format comment to 79 columns 2000-03-01 21:28:38 +00:00
Brian Wellington
2e9fe863e1 Print a warning if we see a wildcard in a zone we're signing. 2000-03-01 21:23:46 +00:00
Andreas Gustafsson
6c4d03a6ab disabled redundant default logging configuration code 2000-03-01 20:41:19 +00:00
Andreas Gustafsson
0e7a542683 improved error reporting 2000-03-01 20:40:33 +00:00
Andreas Gustafsson
11d435aa4c implemented logging defaults suggested by Tale 2000-03-01 20:40:14 +00:00
Andreas Gustafsson
1620f03517 don't set ISC_LOG_DEBUGONLY on the default_debug channel 2000-03-01 20:38:58 +00:00
Andreas Gustafsson
254993b725 removed support for -ff (use -g); updated usage message accordingly 2000-03-01 18:50:58 +00:00
David Lawrence
ed301acd34 Describe ISC_LOG_DEBUGONLY.
Fixed some examples.

Updated the colon-space bit of categories/modules; they are no longer used.

Fixed a couple of minor typos.
2000-03-01 17:38:39 +00:00
David Lawrence
7fe1fdea0d Number stderr lines for easier visual inspection.
Test ISC_LOG_DEBUGONLY used by default_debug.

Print a banner about the expected output.
2000-03-01 17:35:00 +00:00
David Lawrence
863ac191b4 ISC_LOG_DEBUGONLY flag added.
Documentation updates to reflect recent code changes:
   isc_logconfig_*
   ISC_LOG_DEBUGONLY
2000-03-01 17:33:04 +00:00
David Lawrence
a40cc3249f isc_logchannel, isc_logchannellist, and isc_logmessage now use the isc list
macros.

ISC_LOG_DEBUGONLY flag for a channel added, to mark a channel that should
only be used if the debugging level is non-zero.

Use ISC_LOG_DEBUGONLY for default_debug.

REQUIRE the context is valid for isc_logconfig_get, and ENSURE that
the configuration returned is non-NULL.

Other miscellaneous cleanups.
2000-03-01 17:31:56 +00:00
Andreas Gustafsson
e02c696ea5 checkpoint: restructured logging configuration code
to enable the default logging configuration to be defined
in one place
2000-03-01 00:40:54 +00:00
Andreas Gustafsson
2aee8fb2cb typo 2000-02-29 23:27:50 +00:00
Michael Graff
b75dc2a3d8 Add a (once again, slightly out of date) file about the dispatcher 2000-02-29 21:03:45 +00:00
Michael Graff
79d29bd320 commit a (slightly out of date) adb document 2000-02-29 20:12:48 +00:00
Michael Graff
2358fd9353 add a bfew (pretty general) notes about lwres protocol 2000-02-29 20:10:49 +00:00
Michael Graff
d456800909 formatting nit; no functional change 2000-02-29 20:09:37 +00:00
Andreas Gustafsson
b6810760b1 end sentence with period 2000-02-29 18:58:10 +00:00
Andreas Gustafsson
32b61e553b foreground mode with logging to stderr is now -g, not -ff 2000-02-29 18:37:14 +00:00
Andreas Gustafsson
2f58a0486c renamed -N option to -n for portability 2000-02-28 22:36:34 +00:00
Andreas Gustafsson
ef890b8214 renamed -N option to -n for portability 2000-02-28 22:19:47 +00:00
Andreas Gustafsson
f30f2b279c direct logging to stderr iff the '-f' option is doubled 2000-02-28 22:17:59 +00:00
Bob Halley
21c39a1a83 initialize type in channel_fromconf() 2000-02-28 19:18:13 +00:00
Andreas Gustafsson
353dcaf1cc 'logging' statement partially wired up 2000-02-28 18:38:44 +00:00
David Lawrence
fd088dc8c8 remove xtargets with make clean/distclean; omapi_test needs DNSLIBS 2000-02-28 16:27:59 +00:00
David Lawrence
5f89718b7d Debugging versions of isc_mem_allocate, isc_mem_free and isc_mem_strdup.
This allows memory allocation/freeing to be tracked with ISC_MEM_DEBUG
as with isc_mem_get/isc_mem_put.   (To get the debugging information
before, mem.c itself needed to be recompiled with ISC_MEM_DEBUG on.)
2000-02-26 19:59:30 +00:00
David Lawrence
edcd1247ad isc_log_create now has three parameters, the additional one used to
return an isc_logconfig_t.  isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.

isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.

isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Bob Halley
3dbea10f98 fix loop termination bug 2000-02-26 00:28:46 +00:00
Andreas Gustafsson
cfab2f4e03 implemented the 'transfers-in' option 2000-02-25 17:34:05 +00:00
Andreas Gustafsson
e0768b64e8 %type declaration for master_in_addr_list was repeated three times 2000-02-25 16:35:08 +00:00
Bob Halley
a09568236c add warning comment 2000-02-25 01:07:17 +00:00
Bob Halley
453603c018 add dns_name_depth() and dns_name_splitatdepth() 2000-02-25 01:06:54 +00:00
Bob Halley
6c6d0a2a06 test dns_name_splitatdepth() and dns_name_depth() 2000-02-25 01:05:53 +00:00
Andreas Gustafsson
e01ecff4b1 Implemented the 'transfers' clause of the 'server' statement
> and the 'transfers-per-ns' option.
2000-02-25 00:52:11 +00:00
Andreas Gustafsson
2bc0dee981 implemented the 'transfer-format' clause of the 'server' statement 2000-02-24 22:55:46 +00:00