Commit Graph
12 Commits
Author SHA1 Message Date
Mark Andrews 19c5c23ef6 fix compiler warning: While loop condition is always non-zero.
nxt_30.c enforce type range to 1..127. DNS_R_RANGE otherwise.
1999-11-03 01:07:02 +00:00
Bob Halley 8d43223900 isc_dir_open api change 1999-10-31 19:09:23 +00:00
David Lawrence 229f8a97f7 duplicate log message filtering functionality via isc_log_write1() and
isc_log_vwrite1(), configurable over X seconds using
isc_log_setduplicateinterval().

isc_log_vwrite renamed to static isc_log_doit(), isc_log_vwrite() created
as wrapper for isc_log_doit().

don't do a second test on ISC_LOG_PRINTLEVEL when logging the message to add
a colon-space, since the colon-space is already in level_string.

print "no_module: " if a module has not been specified (but PRINTMODULE was),
to keep tokenization nice and clean for future log-file parsing programs
without looking quite like a bug, which is what happens with:
  Oct 25 15:51:07 dns_general: : notice: This should be in file 1/1
instead of
  Oct 25 15:51:07 dns_general: no_module: notice: This should be in file 1/1
1999-10-25 19:55:06 +00:00
Mark Andrews 8cdac11df1 Correct comment 1999-10-25 13:11:13 +00:00
Bob Halley d409ceeda4 do not require ': ' in module/category names 1999-10-22 19:30:38 +00:00
James Brister 59c6f0e26b If logging context is NULL in isc_log_vwrite(), then bail before
doing any REQUIREs that require it being non-NULL.
1999-10-15 19:04:38 +00:00
David Lawrence 7046378cf8 include isc/print.h for vsnprintf 1999-10-11 16:10:06 +00:00
David Lawrence 135808ceb1 use vsnprintf, now portable because of isc/print.c.
removed static forward declaration of isc_log_vwrite(), now public.
declared assignchannel() as static.
1999-10-11 14:50:51 +00:00
David Lawrence 6ffc076c08 isc_log_vwrite is now a public function 1999-10-11 13:28:49 +00:00
David Lawrence eac339874d no more unistd.h; use remove() from stdio rather than unlink() 1999-10-07 02:10:10 +00:00
David Lawrence 72c99dbd09 no longer needs dirent.h 1999-09-30 22:14:53 +00:00
David Lawrence fc80027fb5 logging interface & test program. not yet NT portable because of syslog. 1999-09-23 17:43:51 +00:00